author | Aryeh Gregor <AryehGregor+gitcommit@gmail.com> |
Fri, 12 Aug 2011 15:01:53 -0600 | |
changeset 524 | 7c7f25c5dbb9 |
parent 523 | f18ac9086744 |
child 525 | f7aa32ec50ac |
editor.html |
--- a/editor.html Fri Aug 12 14:47:34 2011 -0600 +++ b/editor.html Fri Aug 12 15:01:53 2011 -0600 @@ -24,7 +24,7 @@ <script> document.querySelector("[contenteditable]").onkeypress = function(e) { - if (e.altKey || e.ctrlKey || (e.which == 0 && e.charCode == 0)) { + if (e.altKey || e.ctrlKey || e.charCode == 0) { return true; } if (e.keyCode == 13 && !e.shiftKey) {