We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a75731a commit c7ded8cCopy full SHA for c7ded8c
ui/jquery.ui.dialog.js
@@ -205,17 +205,13 @@ $.widget("ui.dialog", {
205
return;
206
}
207
208
- // TODO remove useless tmp vars
209
- var options = this.options,
210
- uiDialog = this.uiDialog;
211
-
212
this.opener = $( this.document[ 0 ].activeElement );
213
214
this._size();
215
- this._position( options.position );
216
- this.overlay = options.modal ? new $.ui.dialog.overlay( this ) : null;
+ this._position( this.options.position );
+ this.overlay = this.options.modal ? new $.ui.dialog.overlay( this ) : null;
217
this._moveToTop( null, true );
218
- this._show( uiDialog, options.show );
+ this._show( this.uiDialog, this.options.show );
219
220
this._focusTabbable();
221
0 commit comments