Skip to content

Commit

Permalink
Merge pull request #59 from pipsmithe/master
Browse files Browse the repository at this point in the history
fix problem with dynamically populated selects not working
  • Loading branch information
groenroos committed Feb 11, 2015
2 parents 794ed53 + 94343a8 commit d9c4d96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions jquery.minimalect.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@
if(mutations.length > 0){
// ...reparse the select
m.ul.html(m._parseSelect()+'<li class="'+op.class_empty+'">'+op.empty+'</li>');
m.items = m.wrapper.find('li');
if(m.options.debug) console.log("Minimalect detected a DOM change for ", m.element);
}
});
Expand Down
Loading

0 comments on commit d9c4d96

Please sign in to comment.