aboutsummaryrefslogtreecommitdiffstats
path: root/demos/selectmenu
diff options
context:
space:
mode:
authorFelix Nagel <info@felixnagel.com>2013-03-09 14:18:48 +0100
committerFelix Nagel <info@felixnagel.com>2013-03-09 14:18:48 +0100
commita6e2863a5c4d22647c973da376b1d1867b673340 (patch)
treec2d458ce4e67e61d6ede8c8ad2e7235d844c3f58 /demos/selectmenu
parent2f7bd63dcf6d1bbdfb89bb5827ee8956dd1b76eb (diff)
downloadjquery-ui-a6e2863a5c4d22647c973da376b1d1867b673340.tar.gz
jquery-ui-a6e2863a5c4d22647c973da376b1d1867b673340.zip
Selectmenu: simplify overflow selectmenu init in default demo
Diffstat (limited to 'demos/selectmenu')
-rw-r--r--demos/selectmenu/default.html3
1 files changed, 1 insertions, 2 deletions
diff --git a/demos/selectmenu/default.html b/demos/selectmenu/default.html
index aa642032e..48007e2cd 100644
--- a/demos/selectmenu/default.html
+++ b/demos/selectmenu/default.html
@@ -17,8 +17,7 @@
$('#files').selectmenu();
- var withOverflow = $('#number').selectmenu();
- withOverflow.selectmenu("menuWidget").addClass("overflow");
+ $('#number').selectmenu().selectmenu("menuWidget").addClass("overflow");
});
</script>
<style>