Skip to content

Commit 55b53b5

Browse files
arschmitzscottgonzalez
authored andcommitted
Mouse: Fix line length issues
Ref gh-1690
1 parent a69b1a9 commit 55b53b5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

ui/widgets/mouse.js

+4-2
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,8 @@ return $.widget( "ui.mouse", {
8989

9090
// event.target.nodeName works around a bug in IE 8 with
9191
// disabled inputs (#7620)
92-
elIsCancel = ( typeof this.options.cancel === "string" && event.target.nodeName ? $( event.target ).closest( this.options.cancel ).length : false );
92+
elIsCancel = ( typeof this.options.cancel === "string" && event.target.nodeName ?
93+
$( event.target ).closest( this.options.cancel ).length : false );
9394
if ( !btnIsLeft || elIsCancel || !this._mouseCapture( event ) ) {
9495
return true;
9596
}
@@ -141,7 +142,8 @@ return $.widget( "ui.mouse", {
141142
if ( this._mouseMoved ) {
142143

143144
// IE mouseup check - mouseup happened when mouse was out of window
144-
if ( $.ui.ie && ( !document.documentMode || document.documentMode < 9 ) && !event.button ) {
145+
if ( $.ui.ie && ( !document.documentMode || document.documentMode < 9 ) &&
146+
!event.button ) {
145147
return this._mouseUp( event );
146148

147149
// Iframe mouseup check - mouseup occurred in another document

0 commit comments

Comments
 (0)