aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
Diffstat (limited to 'ui')
-rw-r--r--ui/widgets/dialog.js6
1 files 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" );
} );