summaryrefslogtreecommitdiffstats
path: root/jquery-ui-sliderAccess.js
diff options
context:
space:
mode:
Diffstat (limited to 'jquery-ui-sliderAccess.js')
-rw-r--r--jquery-ui-sliderAccess.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/jquery-ui-sliderAccess.js b/jquery-ui-sliderAccess.js
index 279ff43..a54cf4a 100644
--- a/jquery-ui-sliderAccess.js
+++ b/jquery-ui-sliderAccess.js
@@ -50,7 +50,9 @@
curr = $t.slider('value'),
newval = curr += step*1,
minval = $t.slider('option','min'),
- maxval = $t.slider('option','max');
+ maxval = $t.slider('option','max'),
+ slidee = $t.slider("option", "slide") || function(){},
+ stope = $t.slider("option", "stop") || function(){};
e.preventDefault();
@@ -59,8 +61,8 @@
$t.slider('value', newval);
- $t.slider("option", "slide").call($t, null, { value: newval });
- $t.slider("option", "stop").call($t, null, { value: newval });
+ slidee.call($t, null, { value: newval });
+ stope.call($t, null, { value: newval });
});
});