Skip to content

Commit

Permalink
Selectmenu: Simplify id-selectors, no need for element-selector
Browse files Browse the repository at this point in the history
  • Loading branch information
jzaefferer committed Feb 21, 2012
1 parent 6528b48 commit aa84b39
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions demos/selectmenu/default.html
Expand Up @@ -14,14 +14,14 @@
<link rel="stylesheet" href="../demos.css"> <link rel="stylesheet" href="../demos.css">
<script> <script>
$(function() { $(function() {
$('select#speed').selectmenu(); $('#speed').selectmenu();


var withOverflow = $('select#number').selectmenu({ var withOverflow = $('#number').selectmenu({
dropdown: false dropdown: false
}); });
withOverflow.selectmenu("widget").addClass("overflow"); withOverflow.selectmenu("widget").addClass("overflow");


$('select#files').selectmenu(); $('#files').selectmenu();


}); });
</script> </script>
Expand Down

0 comments on commit aa84b39

Please sign in to comment.