diff options
-rw-r--r-- | demos/selectmenu/custom_render.html | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/demos/selectmenu/custom_render.html b/demos/selectmenu/custom_render.html index a69b296ff..64791cb98 100644 --- a/demos/selectmenu/custom_render.html +++ b/demos/selectmenu/custom_render.html @@ -38,14 +38,11 @@ } }); - var files = $( "select#files" ).iconselectmenu(); - files.iconselectmenu( "menuWidget" ).addClass( "ui-menu-icons" ); + $( "select#files" ).iconselectmenu().iconselectmenu( "menuWidget" ).addClass( "ui-menu-icons" ); - var filesB = $( "select#filesB" ).iconselectmenu(); - filesB.iconselectmenu( "menuWidget" ).addClass( "ui-menu-icons customicons" ); + $( "select#filesB" ).iconselectmenu().iconselectmenu( "menuWidget" ).addClass( "ui-menu-icons customicons" ); - var peopleA = $( "select#peopleA" ).iconselectmenu(); - peopleA.iconselectmenu( "menuWidget").addClass( "ui-menu-icons avatar" ); + $( "select#peopleA" ).iconselectmenu().iconselectmenu( "menuWidget").addClass( "ui-menu-icons avatar" ); }); </script> <style> |