Spinner: Fixed mousewheel stop timer.

This commit is contained in:
Scott González 2011-10-13 16:47:01 -04:00
parent 4694f85d4c
commit 26bcf972e6

View File

@ -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 );
}