From c57f4e5ced7fb2d0ff8a71ded8c267e61829af01 Mon Sep 17 00:00:00 2001 From: Alexander Schmitz Date: Wed, 30 Mar 2016 23:41:14 -0400 Subject: [PATCH] Dialog: Fix line length issues Ref gh-1690 --- ui/widgets/dialog.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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" ); } ); -- 2.39.5