Skip to content

Commit 650fe5c

Browse files
committed
Dialog: Removed trailing whitespace.
1 parent cab4c46 commit 650fe5c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

ui/jquery.ui.dialog.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -716,17 +716,17 @@ $.extend( $.ui.dialog.overlay, {
716716
// handle window resize
717717
$( window ).bind( "resize.dialog-overlay", $.ui.dialog.overlay.resize );
718718
}
719-
719+
720720
var $el = ( this.oldInstances.pop() || $( "<div>" ).addClass( "ui-widget-overlay" ) );
721-
721+
722722
// allow closing by pressing the escape key
723723
$( document ).bind( "keydown.dialog-overlay", function( event ) {
724-
var instances = $.ui.dialog.overlay.instances;
725-
// only react to the event if we're the top overlay
726-
if ( instances.length !== 0 && instances[ instances.length - 1 ] === $el &&
724+
var instances = $.ui.dialog.overlay.instances;
725+
// only react to the event if we're the top overlay
726+
if ( instances.length !== 0 && instances[ instances.length - 1 ] === $el &&
727727
dialog.options.closeOnEscape && !event.isDefaultPrevented() && event.keyCode &&
728728
event.keyCode === $.ui.keyCode.ESCAPE ) {
729-
729+
730730
dialog.close( event );
731731
event.preventDefault();
732732
}

0 commit comments

Comments
 (0)