From 8787cb045685b93c21c7af6e9ffc6611e679920f Mon Sep 17 00:00:00 2001 From: Felix Nagel Date: Thu, 7 Mar 2013 19:15:37 +0100 Subject: [PATCH] Selectmenu: switch from a to button element --- themes/base/jquery.ui.selectmenu.css | 2 +- ui/jquery.ui.selectmenu.js | 20 +++++++++----------- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/themes/base/jquery.ui.selectmenu.css b/themes/base/jquery.ui.selectmenu.css index 264dfe0bf..3256025a0 100644 --- a/themes/base/jquery.ui.selectmenu.css +++ b/themes/base/jquery.ui.selectmenu.css @@ -35,7 +35,7 @@ .ui-selectmenu-open { display: block; } -.ui-selectmenu-button a.ui-button { +.ui-selectmenu-button .ui-button { display: inline-block; overflow: hidden; position: relative; diff --git a/ui/jquery.ui.selectmenu.js b/ui/jquery.ui.selectmenu.js index 9132604de..568c2e983 100644 --- a/ui/jquery.ui.selectmenu.js +++ b/ui/jquery.ui.selectmenu.js @@ -68,9 +68,8 @@ $.widget( "ui.selectmenu", { this.element.hide(); // create button - this.button = $( "", { + this.button = $( "