Skip to content
Permalink
Browse files

Dialog: Remove useless tmp vars.

  • Loading branch information...
jzaefferer committed Nov 15, 2012
1 parent 625a111 commit 0ae6fc1e02305fcd975225c2527fb0acacb424de
Showing with 3 additions and 7 deletions.
  1. +3 −7 ui/jquery.ui.dialog.js
@@ -205,17 +205,13 @@ $.widget("ui.dialog", {
return;
}

// TODO remove useless tmp vars
var options = this.options,
uiDialog = this.uiDialog;

this.opener = $( this.document[ 0 ].activeElement );

this._size();
this._position( options.position );
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;
this._moveToTop( null, true );
this._show( uiDialog, options.show );
this._show( this.uiDialog, this.options.show );

this._focusTabbable();

0 comments on commit 0ae6fc1

Please sign in to comment.
You can’t perform that action at this time.