aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/slider
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2013-03-02 15:26:18 -0500
committerScott González <scott.gonzalez@gmail.com>2013-03-02 15:26:18 -0500
commit271aa1d94e3df852fc678cc80d1c66365b34cc2a (patch)
treee784882f5b9c124d29a32c675b5848e8cbbc22d7 /tests/unit/slider
parent8655d91ac68538c37da4d94ecc287df8c90a96ae (diff)
downloadjquery-ui-271aa1d94e3df852fc678cc80d1c66365b34cc2a.tar.gz
jquery-ui-271aa1d94e3df852fc678cc80d1c66365b34cc2a.zip
Slider tests: Don't use .on().
Diffstat (limited to 'tests/unit/slider')
-rw-r--r--tests/unit/slider/slider_options.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/slider/slider_options.js b/tests/unit/slider/slider_options.js
index dfa94696a..392140dd6 100644
--- a/tests/unit/slider/slider_options.js
+++ b/tests/unit/slider/slider_options.js
@@ -16,7 +16,7 @@ test( "disabled", function(){
var count = 0;
element = $( "#slider1" ).slider();
- element.on( "slidestart", function() {
+ element.bind( "slidestart", function() {
count++;
});