Skip to content

Commit

Permalink
Dialog: Remove deprecated disableSelection() usage.
Browse files Browse the repository at this point in the history
  • Loading branch information
jzaefferer committed Nov 26, 2012
1 parent 4632780 commit b6cefc7
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions ui/jquery.ui.dialog.js
Expand Up @@ -186,10 +186,6 @@ $.widget("ui.dialog", {
});
}

// TODO use andSelf()
// TODO get rid of this?! why do we need to disable selection anyway?
uiDialogTitlebar.find( "*" ).add( uiDialogTitlebar ).disableSelection();

// TODO use button? or at least a button element, so that SPACE works?
this._hoverable( uiDialogTitlebarClose );
this._focusable( uiDialogTitlebarClose );
Expand Down

0 comments on commit b6cefc7

Please sign in to comment.