aboutsummaryrefslogtreecommitdiffstats
path: root/tests/visual/selectmenu/selectmenu.html
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2014-02-11 11:54:34 -0800
committerScott González <scott.gonzalez@gmail.com>2014-02-11 11:54:55 -0800
commitcf85f6726bf41dc292b75b126e72889b01e3f706 (patch)
treed8074ed8d39f75daa2f3859166f5ff331a96a096 /tests/visual/selectmenu/selectmenu.html
parent9660b43c01f473da96b76d2d605b9295cefe6f0f (diff)
downloadjquery-ui-cf85f6726bf41dc292b75b126e72889b01e3f706.tar.gz
jquery-ui-cf85f6726bf41dc292b75b126e72889b01e3f706.zip
Tests: Use .bind() instead of .on()
Diffstat (limited to 'tests/visual/selectmenu/selectmenu.html')
-rw-r--r--tests/visual/selectmenu/selectmenu.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/visual/selectmenu/selectmenu.html b/tests/visual/selectmenu/selectmenu.html
index b492ccd8f..e6041ea67 100644
--- a/tests/visual/selectmenu/selectmenu.html
+++ b/tests/visual/selectmenu/selectmenu.html
@@ -70,7 +70,7 @@
$('#disabled1, #disabled2, #disabled3').selectmenu();
var disabled4 = $('#disabled4').selectmenu();
- $("#disable_select").on("click", function() {
+ $("#disable_select").bind("click", function() {
if (disable_select) {
disable_select = false;
disabled4.selectmenu("disable");
@@ -82,7 +82,7 @@
return false;
});
- $("#disable_option").on("click", function() {
+ $("#disable_option").bind("click", function() {
if (disable_option) {
disable_option = false;
disabled4.find("option:eq(0)").attr("disabled", "disabled");
@@ -94,7 +94,7 @@
return false;
});
- $("#disable_optgroup").on("click", function() {
+ $("#disable_optgroup").bind("click", function() {
if (disable_optgroup) {
disable_optgroup = false;
disabled4.find("optgroup:eq(0)").attr("disabled", "disabled");