aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2011-10-13 16:47:01 -0400
committerScott González <scott.gonzalez@gmail.com>2011-10-13 16:47:01 -0400
commit26bcf972e681813d00abbe0603267ff4bebac311 (patch)
tree44a070c6fa04ac3dd9d923c219f3d7f27d9cb405
parent4694f85d4c1f0374b39175cf6c869ed8c38b28d8 (diff)
downloadjquery-ui-26bcf972e681813d00abbe0603267ff4bebac311.tar.gz
jquery-ui-26bcf972e681813d00abbe0603267ff4bebac311.zip
Spinner: Fixed mousewheel stop timer.
-rw-r--r--ui/jquery.ui.spinner.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.spinner.js b/ui/jquery.ui.spinner.js
index b834dc2f4..be2aaa246 100644
--- a/ui/jquery.ui.spinner.js
+++ b/ui/jquery.ui.spinner.js
@@ -93,7 +93,7 @@ $.widget( "ui.spinner", {
this._spin( (delta > 0 ? 1 : -1) * this.options.step, event );
clearTimeout( this.mousewheelTimer );
- this.mousewheelTimer = setTimeout(function() {
+ this.mousewheelTimer = this._delay(function() {
if ( this.spinning ) {
this._stop( event );
}