Permalink
Browse files

Merge pull request #4 from dropfen/master

Call attr() instead of prop() to set it to selected
  • Loading branch information...
2 parents 3fe5a65 + 61000dc commit 5c371cdc408274d8378754fc48a3fba498a7b3c6 Fez Vrasta committed Jan 11, 2015
Showing with 1 addition and 1 deletion.
  1. +1 −1 jquery.dropdown.js
View
@@ -305,7 +305,7 @@
// Ss it selected?
if ($this.prop("selected")) {
- $option.prop("selected", true);
+ $option.attr("selected", true);
}
// Append option to our dropdown

0 comments on commit 5c371cd

Please sign in to comment.