commit | 89ebc694728b9aefce2bab71fcc5b0bef73c43cc | [log] [tgz] |
---|---|---|
author | Nils Diewald <nils@diewald-online.de> | Mon Nov 17 21:34:02 2014 +0000 |
committer | Nils Diewald <nils@diewald-online.de> | Mon Nov 17 21:34:02 2014 +0000 |
tree | 08cbf93ed2a15b0aa50a0baff51aae07492d3b4d | |
parent | fd421de7e32b00c2ef4ee50ef42ea4d79d2c05d3 [diff] [blame] |
Fixed suggestion helper
diff --git a/public/js/hint.js b/public/js/hint.js index eea04cc..80c7d25 100644 --- a/public/js/hint.js +++ b/public/js/hint.js
@@ -206,9 +206,13 @@ if (that.active === -2) return; if (e.key === 'Down') { + e.stopPropagation(); + e.preventDefault(); return that.next(); } else if (e.key === 'Up') { + e.stopPropagation(); + e.preventDefault(); return that.previous(); } else if (e.key === 'Enter' && that.choose()) {