From: Alexander Schmitz Date: Thu, 31 Mar 2016 03:41:14 +0000 (-0400) Subject: Dialog: Fix line length issues X-Git-Tag: 1.12.0-rc.2~49 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c57f4e5ced7fb2d0ff8a71ded8c267e61829af01;p=jquery-ui.git Dialog: Fix line length issues Ref gh-1690 --- diff --git a/ui/widgets/dialog.js b/ui/widgets/dialog.js index c3ca95ed3..1bbb3fcd2 100644 --- a/ui/widgets/dialog.js +++ b/ui/widgets/dialog.js @@ -372,12 +372,14 @@ $.widget( "ui.dialog", { first = tabbables.filter( ":first" ), last = tabbables.filter( ":last" ); - if ( ( event.target === last[ 0 ] || event.target === this.uiDialog[ 0 ] ) && !event.shiftKey ) { + if ( ( event.target === last[ 0 ] || event.target === this.uiDialog[ 0 ] ) && + !event.shiftKey ) { this._delay( function() { first.trigger( "focus" ); } ); event.preventDefault(); - } else if ( ( event.target === first[ 0 ] || event.target === this.uiDialog[ 0 ] ) && event.shiftKey ) { + } else if ( ( event.target === first[ 0 ] || + event.target === this.uiDialog[ 0 ] ) && event.shiftKey ) { this._delay( function() { last.trigger( "focus" ); } );