diff options
author | Alexander Schmitz <arschmitz@gmail.com> | 2016-03-30 23:41:14 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2016-04-13 11:31:52 -0400 |
commit | c57f4e5ced7fb2d0ff8a71ded8c267e61829af01 (patch) | |
tree | 079dc83b58c10c57168fcab84de9c4b75680a421 /ui | |
parent | 545bcfec8ec82340b6325a63d3b5b9e9b9c1b6ef (diff) | |
download | jquery-ui-c57f4e5ced7fb2d0ff8a71ded8c267e61829af01.tar.gz jquery-ui-c57f4e5ced7fb2d0ff8a71ded8c267e61829af01.zip |
Dialog: Fix line length issues
Ref gh-1690
Diffstat (limited to 'ui')
-rw-r--r-- | ui/widgets/dialog.js | 6 |
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" ); } ); |