Skip to content

Commit

Permalink
forgot event
Browse files Browse the repository at this point in the history
  • Loading branch information
45kb committed Dec 19, 2016
1 parent 1266806 commit 76538a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/js/directives/ng-tag-input.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ angular.module(moduleName, [])
createTags();
updateModel();
}
, onKeyUp = () => {
, onKeyUp = event => {
updateModel();
if (element[0].innerText.trim().length > 0 &&
((event.keyCode && event.keyCode === 32) ||
Expand Down Expand Up @@ -114,7 +114,7 @@ angular.module(moduleName, [])
, onTrigger = () => {
focusTheEnd();
}
, onKeypressDisabled = (event) => {
, onKeypressDisabled = event => {
return event.preventDefault();
};

Expand Down

0 comments on commit 76538a4

Please sign in to comment.