Skip to content

Commit

Permalink
Spinner: Fixed mousewheel stop timer.
Browse files Browse the repository at this point in the history
  • Loading branch information
scottgonzalez committed Oct 13, 2011
1 parent 4694f85 commit 26bcf97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/jquery.ui.spinner.js
Expand Up @@ -93,7 +93,7 @@ $.widget( "ui.spinner", {


this._spin( (delta > 0 ? 1 : -1) * this.options.step, event ); this._spin( (delta > 0 ? 1 : -1) * this.options.step, event );
clearTimeout( this.mousewheelTimer ); clearTimeout( this.mousewheelTimer );
this.mousewheelTimer = setTimeout(function() { this.mousewheelTimer = this._delay(function() {
if ( this.spinning ) { if ( this.spinning ) {
this._stop( event ); this._stop( event );
} }
Expand Down

0 comments on commit 26bcf97

Please sign in to comment.