Selectmenu: Simplify id-selectors, no need for element-selector

This commit is contained in:
Jörn Zaefferer 2012-02-21 17:52:58 +01:00
parent 6528b48b47
commit aa84b39ccd

View File

@ -14,14 +14,14 @@
<link rel="stylesheet" href="../demos.css">
<script>
$(function() {
$('select#speed').selectmenu();
$('#speed').selectmenu();
var withOverflow = $('select#number').selectmenu({
var withOverflow = $('#number').selectmenu({
dropdown: false
});
withOverflow.selectmenu("widget").addClass("overflow");
$('select#files').selectmenu();
$('#files').selectmenu();
});
</script>