diff options
author | Alexander Schmitz <arschmitz@gmail.com> | 2016-03-30 22:54:03 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2016-04-13 11:31:45 -0400 |
commit | 55b53b54625d690bb1371cd7171b318e9e651dcb (patch) | |
tree | 2cc3f3c797ca462e8d616693d2c4f01ad2d27be2 /ui | |
parent | a69b1a9eb860f62060d668eeebf04195618f99f2 (diff) | |
download | jquery-ui-55b53b54625d690bb1371cd7171b318e9e651dcb.tar.gz jquery-ui-55b53b54625d690bb1371cd7171b318e9e651dcb.zip |
Mouse: Fix line length issues
Ref gh-1690
Diffstat (limited to 'ui')
-rw-r--r-- | ui/widgets/mouse.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ui/widgets/mouse.js b/ui/widgets/mouse.js index c14aebe53..0ae8979a1 100644 --- a/ui/widgets/mouse.js +++ b/ui/widgets/mouse.js @@ -89,7 +89,8 @@ return $.widget( "ui.mouse", { // event.target.nodeName works around a bug in IE 8 with // disabled inputs (#7620) - elIsCancel = ( typeof this.options.cancel === "string" && event.target.nodeName ? $( event.target ).closest( this.options.cancel ).length : false ); + elIsCancel = ( typeof this.options.cancel === "string" && event.target.nodeName ? + $( event.target ).closest( this.options.cancel ).length : false ); if ( !btnIsLeft || elIsCancel || !this._mouseCapture( event ) ) { return true; } @@ -141,7 +142,8 @@ return $.widget( "ui.mouse", { if ( this._mouseMoved ) { // IE mouseup check - mouseup happened when mouse was out of window - if ( $.ui.ie && ( !document.documentMode || document.documentMode < 9 ) && !event.button ) { + if ( $.ui.ie && ( !document.documentMode || document.documentMode < 9 ) && + !event.button ) { return this._mouseUp( event ); // Iframe mouseup check - mouseup occurred in another document |