diff options
-rw-r--r-- | ui/widgets/spinner.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ui/widgets/spinner.js b/ui/widgets/spinner.js index e875f10ad..447944344 100644 --- a/ui/widgets/spinner.js +++ b/ui/widgets/spinner.js @@ -199,7 +199,8 @@ $.widget( "ui.spinner", { return; } - this._repeat( null, $( event.currentTarget ).hasClass( "ui-spinner-up" ) ? 1 : -1, event ); + this._repeat( null, $( event.currentTarget ) + .hasClass( "ui-spinner-up" ) ? 1 : -1, event ); }, "mouseup .ui-spinner-button": "_stop", "mouseenter .ui-spinner-button": function( event ) { @@ -212,7 +213,8 @@ $.widget( "ui.spinner", { if ( this._start( event ) === false ) { return false; } - this._repeat( null, $( event.currentTarget ).hasClass( "ui-spinner-up" ) ? 1 : -1, event ); + this._repeat( null, $( event.currentTarget ) + .hasClass( "ui-spinner-up" ) ? 1 : -1, event ); }, // TODO: do we really want to consider this a stop? |