Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fixes #578, safari 3.2 doesnt return the first option when theres no …
…explicit selected option.
  • Loading branch information
fabiomcosta committed Apr 7, 2010
1 parent 2fc0959 commit 8389c55
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/Element/Element.js
Expand Up @@ -517,6 +517,7 @@ Element.implement({
},

getSelected: function(){
this.selectedIndex;
return new Elements(Array.from(this.options).filter(function(option){
return option.selected;
}));
Expand Down

0 comments on commit 8389c55

Please sign in to comment.