Skip to content

Commit

Permalink
Merge pull request #7 from tristen/capture-mousedown
Browse files Browse the repository at this point in the history
Account for mousedown selection of value
  • Loading branch information
tristen committed Dec 14, 2015
2 parents 48b84d2 + eff6462 commit dda4664
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ List.prototype.drawItem = function(item, active) {
};

List.prototype.handleMouseDown = function(item) {
this.component.value(item);
this.component.value(item.original);
this.clear();
this.draw();
};
Expand Down

0 comments on commit dda4664

Please sign in to comment.