aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
Diffstat (limited to 'demos')
-rw-r--r--demos/selectmenu/custom_render.html8
-rw-r--r--demos/selectmenu/default.html4
2 files changed, 3 insertions, 9 deletions
diff --git a/demos/selectmenu/custom_render.html b/demos/selectmenu/custom_render.html
index 1aa563d61..c4fd2cd3b 100644
--- a/demos/selectmenu/custom_render.html
+++ b/demos/selectmenu/custom_render.html
@@ -38,14 +38,10 @@
}
});
- var files = $( "select#files" ).iconselectmenu({
- dropdown: false
- });
+ var files = $( "select#files" ).iconselectmenu();
files.iconselectmenu( "menuWidget" ).addClass( "ui-menu-icons" );
- var filesB = $( "select#filesB" ).iconselectmenu({
- dropdown: false
- });
+ var filesB = $( "select#filesB" ).iconselectmenu();
filesB.iconselectmenu( "menuWidget" ).addClass( "ui-menu-icons customicons" );
var peopleA = $( "select#peopleA" ).iconselectmenu();
diff --git a/demos/selectmenu/default.html b/demos/selectmenu/default.html
index 824f89fa2..20a2c6bc8 100644
--- a/demos/selectmenu/default.html
+++ b/demos/selectmenu/default.html
@@ -17,9 +17,7 @@
$('#files').selectmenu();
- var withOverflow = $('#number').selectmenu({
- dropdown: false
- });
+ var withOverflow = $('#number').selectmenu();
withOverflow.selectmenu("menuWidget").addClass("overflow");
});
</script>