Skip to content

Commit

Permalink
Bug fix for dismiss menu on ESC. Add package.json file
Browse files Browse the repository at this point in the history
  • Loading branch information
franverona committed Nov 26, 2015
1 parent ff2ca79 commit 660aa0b
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 1 deletion.
4 changes: 4 additions & 0 deletions jemoji.js
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,8 @@ if (typeof(jQuery) === 'undefined') {

selectedEmoji = true;

currentChars = '';

event.preventDefault();
}
return;
Expand Down Expand Up @@ -385,6 +387,8 @@ if (typeof(jQuery) === 'undefined') {

selectedEmoji = true;

currentChars = '';

event.preventDefault();
}
return;
Expand Down
Loading

0 comments on commit 660aa0b

Please sign in to comment.