Skip to content

Commit c57f4e5

Browse files
arschmitzscottgonzalez
authored andcommitted
Dialog: Fix line length issues
Ref gh-1690
1 parent 545bcfe commit c57f4e5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

ui/widgets/dialog.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,12 +372,14 @@ $.widget( "ui.dialog", {
372372
first = tabbables.filter( ":first" ),
373373
last = tabbables.filter( ":last" );
374374

375-
if ( ( event.target === last[ 0 ] || event.target === this.uiDialog[ 0 ] ) && !event.shiftKey ) {
375+
if ( ( event.target === last[ 0 ] || event.target === this.uiDialog[ 0 ] ) &&
376+
!event.shiftKey ) {
376377
this._delay( function() {
377378
first.trigger( "focus" );
378379
} );
379380
event.preventDefault();
380-
} else if ( ( event.target === first[ 0 ] || event.target === this.uiDialog[ 0 ] ) && event.shiftKey ) {
381+
} else if ( ( event.target === first[ 0 ] ||
382+
event.target === this.uiDialog[ 0 ] ) && event.shiftKey ) {
381383
this._delay( function() {
382384
last.trigger( "focus" );
383385
} );

0 commit comments

Comments
 (0)