Selectmenu: removed ugly workaround for IE9 to make sure the menu is built on first focus

This commit is contained in:
Felix Nagel 2012-12-12 23:43:32 +01:00
parent b15ae2a64f
commit ed422bd855

View File

@ -194,11 +194,6 @@ $.widget( "ui.selectmenu", {
of: this.button of: this.button
}; };
// make sure menu is refreshed on first init (needed at least for IE9)
if ( this.isOpen === undefined ) {
this.button.trigger( "focus" );
}
this.isOpen = true; this.isOpen = true;
this._toggleAttr(); this._toggleAttr();