aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorFelix Nagel <info@felixnagel.com>2012-12-12 23:43:32 +0100
committerFelix Nagel <info@felixnagel.com>2012-12-12 23:43:32 +0100
commited422bd85525343fab41f44d7968572d885444fa (patch)
treee40a31e9f5364feb07dd25350294354d94951df7 /ui
parentb15ae2a64f3a438384f15fa7fdc9c0ea25497528 (diff)
downloadjquery-ui-ed422bd85525343fab41f44d7968572d885444fa.tar.gz
jquery-ui-ed422bd85525343fab41f44d7968572d885444fa.zip
Selectmenu: removed ugly workaround for IE9 to make sure the menu is built on first focus
Diffstat (limited to 'ui')
-rw-r--r--ui/jquery.ui.selectmenu.js5
1 files changed, 0 insertions, 5 deletions
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();