Skip to content

Commit 26bcf97

Browse files
committed
Spinner: Fixed mousewheel stop timer.
1 parent 4694f85 commit 26bcf97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/jquery.ui.spinner.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ $.widget( "ui.spinner", {
9393

9494
this._spin( (delta > 0 ? 1 : -1) * this.options.step, event );
9595
clearTimeout( this.mousewheelTimer );
96-
this.mousewheelTimer = setTimeout(function() {
96+
this.mousewheelTimer = this._delay(function() {
9797
if ( this.spinning ) {
9898
this._stop( event );
9999
}

0 commit comments

Comments
 (0)