diff options
author | John McLear <john@mclear.co.uk> | 2013-03-05 20:30:31 +0000 |
---|---|---|
committer | John McLear <john@mclear.co.uk> | 2013-03-05 20:30:31 +0000 |
commit | f9f8b1c0794610f08cb41bd0d06a427719701ed1 (patch) | |
tree | 6b923a81cd1cf782d710cd9c9a1ecb1d2a2c795c /src/static/js/ace2_inner.js | |
parent | 2b5cb2989c3cee71ee10955bb5ff08a253ec66af (diff) | |
download | etherpad-lite-f9f8b1c0794610f08cb41bd0d06a427719701ed1.zip |
allow chrome to do control z type functionality, not sure why this was never in.. broken when we last updated jQ anyway
Diffstat (limited to 'src/static/js/ace2_inner.js')
-rw-r--r-- | src/static/js/ace2_inner.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/static/js/ace2_inner.js b/src/static/js/ace2_inner.js index ddb614be..f2320926 100644 --- a/src/static/js/ace2_inner.js +++ b/src/static/js/ace2_inner.js @@ -3580,7 +3580,7 @@ function Ace2Inner(){ var specialHandled = false; var isTypeForSpecialKey = ((browser.msie || browser.safari) ? (type == "keydown") : (type == "keypress")); - var isTypeForCmdKey = ((browser.msie || browser.safari) ? (type == "keydown") : (type == "keypress")); + var isTypeForCmdKey = ((browser.msie || browser.safari || browser.chrome) ? (type == "keydown") : (type == "keypress")); var stopped = false; |