mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Selectmenu: removed ugly workaround for IE9 to make sure the menu is built on first focus
This commit is contained in:
parent
b15ae2a64f
commit
ed422bd855
5
ui/jquery.ui.selectmenu.js
vendored
5
ui/jquery.ui.selectmenu.js
vendored
@ -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();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user