Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixes problem with multiple Minimalects on the same page
  • Loading branch information
groenroos committed May 31, 2014
1 parent 5bb4226 commit 0d04621
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jquery.minimalect.js
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@
// close all other open minimalects
$("."+op.class_container).each(function(){ //todo this doesn't work if the container classes are different
if($(this)[0] !== wr[0])
this._hideChoices($(this));
m._hideChoices($(this));
});
// internal callback
if(typeof cb === 'function') cb.call();
Expand Down
Loading

0 comments on commit 0d04621

Please sign in to comment.