From: Scott González Date: Thu, 13 Oct 2011 20:47:01 +0000 (-0400) Subject: Spinner: Fixed mousewheel stop timer. X-Git-Tag: 1.9m7~191 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=26bcf972e681813d00abbe0603267ff4bebac311;p=jquery-ui.git Spinner: Fixed mousewheel stop timer. --- 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 ); }