Skip to content
Permalink
Browse files

Spinner: Fixed mousewheel stop timer.

  • Loading branch information...
scottgonzalez committed Oct 13, 2011
1 parent 4694f85 commit 26bcf972e681813d00abbe0603267ff4bebac311
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 );
}

0 comments on commit 26bcf97

Please sign in to comment.
You can’t perform that action at this time.