diff options
author | Felix Nagel <info@felixnagel.com> | 2012-12-03 23:28:06 +0100 |
---|---|---|
committer | Felix Nagel <info@felixnagel.com> | 2012-12-03 23:28:06 +0100 |
commit | e6aca63a774adbf7c95ff345005a25da581f2158 (patch) | |
tree | 27cbf99aef1a51586fc5745283fd6da1df9a1409 /ui/jquery.ui.selectmenu.js | |
parent | aa60a9e1149f85e7a8c35c43bc0ce5f2feab25eb (diff) | |
download | jquery-ui-e6aca63a774adbf7c95ff345005a25da581f2158.tar.gz jquery-ui-e6aca63a774adbf7c95ff345005a25da581f2158.zip |
Selectmenu: simplify $.each usage in _readOptions method
Diffstat (limited to 'ui/jquery.ui.selectmenu.js')
-rw-r--r-- | ui/jquery.ui.selectmenu.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.selectmenu.js b/ui/jquery.ui.selectmenu.js index 83407ec09..97b64c31a 100644 --- a/ui/jquery.ui.selectmenu.js +++ b/ui/jquery.ui.selectmenu.js @@ -427,7 +427,7 @@ $.widget( "ui.selectmenu", { _readOptions: function( options ) { var data = []; - $.each( options, function( index, item ) { + options.each( function( index, item ) { var option = $( item ), optgroup = option.parent( "optgroup" ); data.push({ |