]> source.dussan.org Git - jquery-ui.git/commitdiff
Dialog: Fix line length issues
authorAlexander Schmitz <arschmitz@gmail.com>
Thu, 31 Mar 2016 03:41:14 +0000 (23:41 -0400)
committerScott González <scott.gonzalez@gmail.com>
Wed, 13 Apr 2016 15:31:52 +0000 (11:31 -0400)
Ref gh-1690

ui/widgets/dialog.js

index c3ca95ed39034b6f32dac09bec26acba805300da..1bbb3fcd228aed174c39918dee3b37078ab31edb 100644 (file)
@@ -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" );
                                        } );