aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/slider
diff options
context:
space:
mode:
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++;
});