From 55b53b54625d690bb1371cd7171b318e9e651dcb Mon Sep 17 00:00:00 2001 From: Alexander Schmitz Date: Wed, 30 Mar 2016 22:54:03 -0400 Subject: [PATCH] Mouse: Fix line length issues Ref gh-1690 --- ui/widgets/mouse.js | 6 ++++-- 1 file 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 -- 2.39.5