Permalink
Browse files

Merge pull request #32 from magikozio/fix-autoinit

Patch jquery.dropdown.js for autoselect
  • Loading branch information...
2 parents 09d23f5 + b81ef15 commit 046b5661066f16ed23324b475ad821f055ab206c @FezVrasta committed Nov 13, 2015
Showing with 3 additions and 1 deletion.
  1. +3 −1 jquery.dropdown.js
View
@@ -247,7 +247,9 @@
$this = $this.find('select');
}
if ($this.is(options.autoinit)) {
- initElement($this);
+ $this.each(function() {
+ initElement($(this));
+ });
}
});
}

0 comments on commit 046b566

Please sign in to comment.