Merge pull request #2762 from mabashian/enter-search-error

Pass the event when calling addTag() on enter
This commit is contained in:
Michael Abashian 2016-07-01 15:59:00 -04:00 committed by GitHub
commit 3f9e998475

View File

@ -23,7 +23,7 @@ export default
.bind('keypress', function (e) {
var code = e.keyCode || e.which;
if (code === 13) {
scope.addTag();
scope.addTag(e);
}
});
}