mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Spinner: Fix line length violations
Ref gh-1690
This commit is contained in:
parent
f42a759b32
commit
a4c9809340
@ -199,7 +199,8 @@ $.widget( "ui.spinner", {
|
|||||||
return;
|
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",
|
"mouseup .ui-spinner-button": "_stop",
|
||||||
"mouseenter .ui-spinner-button": function( event ) {
|
"mouseenter .ui-spinner-button": function( event ) {
|
||||||
@ -212,7 +213,8 @@ $.widget( "ui.spinner", {
|
|||||||
if ( this._start( event ) === false ) {
|
if ( this._start( event ) === false ) {
|
||||||
return 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?
|
// TODO: do we really want to consider this a stop?
|
||||||
|
Loading…
Reference in New Issue
Block a user