Skip to content
Permalink
Browse files

Selectmenu: simplify $.each usage in _readOptions method

  • Loading branch information
fnagel committed Dec 3, 2012
1 parent aa60a9e commit e6aca63a774adbf7c95ff345005a25da581f2158
Showing with 1 addition and 1 deletion.
  1. +1 −1 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({

0 comments on commit e6aca63

Please sign in to comment.
You can’t perform that action at this time.