diff options
author | Alexander Schmitz <arschmitz@gmail.com> | 2015-08-21 00:11:21 -0400 |
---|---|---|
committer | Alexander Schmitz <arschmitz@gmail.com> | 2015-08-21 08:06:23 -0400 |
commit | 9ef84a6bf0a4a1d9df62a4427d0e826d91d1606b (patch) | |
tree | 4eb1005936941a7795e1412771ca07820e87b2c8 /ui | |
parent | f75c8761cb7d4e6fca39c4b7cedf2442a8bc260a (diff) | |
download | jquery-ui-9ef84a6bf0a4a1d9df62a4427d0e826d91d1606b.tar.gz jquery-ui-9ef84a6bf0a4a1d9df62a4427d0e826d91d1606b.zip |
Dialog: Style updates
Ref #14246
Ref gh-1588
Diffstat (limited to 'ui')
-rw-r--r-- | ui/widgets/dialog.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ui/widgets/dialog.js b/ui/widgets/dialog.js index 40f6c614f..abff0e535 100644 --- a/ui/widgets/dialog.js +++ b/ui/widgets/dialog.js @@ -81,7 +81,7 @@ $.widget( "ui.dialog", { title: null, width: 300, - // callbacks + // Callbacks beforeClose: null, close: null, drag: null, @@ -353,7 +353,7 @@ $.widget( "ui.dialog", { return; } - // prevent tabbing out of dialogs + // Prevent tabbing out of dialogs if ( event.keyCode !== $.ui.keyCode.TAB || event.isDefaultPrevented() ) { return; } @@ -408,7 +408,7 @@ $.widget( "ui.dialog", { } } ); - // support: IE + // Support: IE // Use type="button" to prevent enter keypresses in textboxes from closing the // dialog in IE (#9312) this.uiDialogTitlebarClose = $( "<button type='button'></button>" ) @@ -464,7 +464,7 @@ $.widget( "ui.dialog", { var that = this, buttons = this.options.buttons; - // if we already have a button pane, remove it + // If we already have a button pane, remove it this.uiDialogButtonPane.remove(); this.uiButtonSet.empty(); @@ -722,12 +722,12 @@ $.widget( "ui.dialog", { uiDialog.resizable( "destroy" ); } - // currently resizable, changing handles + // Currently resizable, changing handles if ( isResizable && typeof value === "string" ) { uiDialog.resizable( "option", "handles", value ); } - // currently non-resizable, becoming resizable + // Currently non-resizable, becoming resizable if ( !isResizable && value !== false ) { this._makeResizable(); } @@ -756,7 +756,7 @@ $.widget( "ui.dialog", { options.width = options.minWidth; } - // reset wrapper sizing + // Reset wrapper sizing // determine the height of all the non-content elements nonContentHeight = this.uiDialog.css( { height: "auto", |