aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/slider/options.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/slider/options.js b/tests/unit/slider/options.js
index 8e43c3e89..02d7f8891 100644
--- a/tests/unit/slider/options.js
+++ b/tests/unit/slider/options.js
@@ -16,7 +16,7 @@ test( "disabled", function( assert ){
var count = 0;
element = $( "#slider1" ).slider();
- element.bind( "slidestart", function() {
+ element.on( "slidestart", function() {
count++;
});