Skip to content

Commit

Permalink
Add missing ,
Browse files Browse the repository at this point in the history
  • Loading branch information
TxHawks committed Dec 28, 2015
1 parent 0ea78d7 commit 2951df6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
6 changes: 3 additions & 3 deletions awesomplete.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ var _ = function (input, o) {
if (c === 13 && me.selected) { // Enter
var li = me.ul.children[me.index];
evt.preventDefault();
evt.originalTarget = li
evt.originalTarget = li;
me.select(li, evt);
}
else if (c === 27) { // Esc
Expand Down Expand Up @@ -202,10 +202,10 @@ _.prototype = {
$.fire(this.input, "awesomplete-select", {
dataset: selected.dataset,
text: selected.textContent,
originalTarget: originalEvent.originalTarget
originalTarget: originalEvent.originalTarget,
preventDefault: function () {
prevented = true;
},
}
});

if (!prevented) {
Expand Down
11 changes: 10 additions & 1 deletion awesomplete.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2951df6

Please sign in to comment.