From ed422bd85525343fab41f44d7968572d885444fa Mon Sep 17 00:00:00 2001 From: Felix Nagel Date: Wed, 12 Dec 2012 23:43:32 +0100 Subject: Selectmenu: removed ugly workaround for IE9 to make sure the menu is built on first focus --- ui/jquery.ui.selectmenu.js | 5 ----- 1 file changed, 5 deletions(-) (limited to 'ui') diff --git a/ui/jquery.ui.selectmenu.js b/ui/jquery.ui.selectmenu.js index b926acf0a..d63e4732c 100644 --- a/ui/jquery.ui.selectmenu.js +++ b/ui/jquery.ui.selectmenu.js @@ -194,11 +194,6 @@ $.widget( "ui.selectmenu", { 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._toggleAttr(); -- cgit v1.2.3