aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Nagel <info@felixnagel.com>2011-10-06 00:38:22 +0200
committerFelix Nagel <info@felixnagel.com>2011-10-06 00:38:22 +0200
commit3ba99cbd6b7250b88b8a4faf986f1ae81c56774d (patch)
tree32c3384ee8b83bf752535c1df2781afef3c2fa9b
parent0dc020f79beb84dc92257ea497623337248ad55a (diff)
downloadjquery-ui-3ba99cbd6b7250b88b8a4faf986f1ae81c56774d.tar.gz
jquery-ui-3ba99cbd6b7250b88b8a4faf986f1ae81c56774d.zip
Selectmenu: code cleanup
-rw-r--r--themes/base/jquery.ui.selectmenu.css3
-rw-r--r--ui/jquery.ui.selectmenu.js1
2 files changed, 1 insertions, 3 deletions
diff --git a/themes/base/jquery.ui.selectmenu.css b/themes/base/jquery.ui.selectmenu.css
index 019273672..46b78ea44 100644
--- a/themes/base/jquery.ui.selectmenu.css
+++ b/themes/base/jquery.ui.selectmenu.css
@@ -7,7 +7,7 @@
*
* http://docs.jquery.com/UI/Selectmenu#theming
*/
-
+
.ui-selectmenu-menu { padding: 0; margin: 0; position:absolute; top: 0; display: none; }
.ui-selectmenu-menu .ui-menu .ui-menu-item { width: auto; }
.ui-selectmenu-menu .ui-menu .ui-menu-item a { padding: 0.3em 1em 0.3em 1em; }
@@ -15,6 +15,5 @@
.ui-selectmenu-menu .ui-menu li.ui-selectmenu-optgroup { font-weight: bold; line-height: 1.5; padding: 2px 0.4em; margin: 0.5em 0 0 0; }
.ui-selectmenu-open { display: block; }
-.ui-selectmenu-button { margin-right: 0; }
.ui-selectmenu-button span.ui-icon { right: 0.5em; left: auto; }
.ui-selectmenu-button span.ui-button-text { text-align: left; padding: 0.4em 2.1em 0.4em 1em } \ No newline at end of file
diff --git a/ui/jquery.ui.selectmenu.js b/ui/jquery.ui.selectmenu.js
index d4cd9180d..f00acf41a 100644
--- a/ui/jquery.ui.selectmenu.js
+++ b/ui/jquery.ui.selectmenu.js
@@ -187,7 +187,6 @@ $.widget( "ui.selectmenu", {
that._initSource();
that._renderMenu( that.list, that.items );
- // this.menu.blur();
that.list.menu( "refresh" );
// adjust ARIA