File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,8 @@ return $.widget( "ui.mouse", {
89
89
90
90
// event.target.nodeName works around a bug in IE 8 with
91
91
// 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 ) ;
93
94
if ( ! btnIsLeft || elIsCancel || ! this . _mouseCapture ( event ) ) {
94
95
return true ;
95
96
}
@@ -141,7 +142,8 @@ return $.widget( "ui.mouse", {
141
142
if ( this . _mouseMoved ) {
142
143
143
144
// 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 ) {
145
147
return this . _mouseUp ( event ) ;
146
148
147
149
// Iframe mouseup check - mouseup occurred in another document
You can’t perform that action at this time.
0 commit comments