aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorFelix Nagel <info@felixnagel.com>2011-10-17 22:13:36 +0200
committerFelix Nagel <info@felixnagel.com>2011-10-17 22:13:36 +0200
commit2ed360c380541857c392117c300b8f900377a855 (patch)
tree2aa8a7d05f327cb4f2fc9b7fe6af46589275b2b4 /ui
parent404f4c1263de2f951250f28d0463002d6f017c65 (diff)
downloadjquery-ui-2ed360c380541857c392117c300b8f900377a855.tar.gz
jquery-ui-2ed360c380541857c392117c300b8f900377a855.zip
Selectmenu: code cleanup
Diffstat (limited to 'ui')
-rw-r--r--ui/jquery.ui.selectmenu.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/jquery.ui.selectmenu.js b/ui/jquery.ui.selectmenu.js
index 3090edd05..b6ec800db 100644
--- a/ui/jquery.ui.selectmenu.js
+++ b/ui/jquery.ui.selectmenu.js
@@ -251,6 +251,10 @@ $.widget( "ui.selectmenu", {
}
},
+ widget: function() {
+ return this.buttonWrap.add( this.menuWrap );
+ },
+
_renderMenu: function( ul, items ) {
var that = this,
currentOptgroup = "";
@@ -379,10 +383,6 @@ $.widget( "ui.selectmenu", {
this.menu.attr( "aria-disabled", value );
}
},
-
- widget: function() {
- return this.buttonWrap.add( this.menuWrap );
- },
_readOptions: function() {
var data = [];