Skip to content
This repository was archived by the owner on Apr 2, 2019. It is now read-only.

Commit f55019f

Browse files
committed
Fix #421. (cont)
1 parent 52397c7 commit f55019f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/cell.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -839,7 +839,7 @@ var SelectCellEditor = Backgrid.SelectCellEditor = CellEditor.extend({
839839
this.$el.append(this.template({
840840
text: optionText,
841841
value: optionValue,
842-
selected: selectedValues.indexOf(optionValue) > -1
842+
selected: _.indexOf(selectedValues, optionValue) > -1
843843
}));
844844
}
845845
else if (_.isObject(optionValue)) {

0 commit comments

Comments
 (0)