Skip to content
This repository has been archived by the owner on Apr 5, 2023. It is now read-only.

Commit

Permalink
fix a typo in select.coffee
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles Guo committed Dec 17, 2013
1 parent 9fadc4d commit d8516d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/select.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ Ember.Component.extend Ember.Widgets.BodyEventListener,
else # getter
valuePath = @get 'optionValuePath'
selection = @get 'selection'
if valuePath then get(selection, valuePath) else selections
if valuePath then get(selection, valuePath) else selection
.property 'selection'

didInsertElement: ->
Expand Down

0 comments on commit d8516d1

Please sign in to comment.