Permalink
Browse files

Selectmenu: simplify overflow selectmenu init in default demo

  • Loading branch information...
1 parent 2f7bd63 commit a6e2863a5c4d22647c973da376b1d1867b673340 @fnagel fnagel committed Mar 9, 2013
Showing with 1 addition and 2 deletions.
  1. +1 −2 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>

0 comments on commit a6e2863

Please sign in to comment.