summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn McLear <john@mclear.co.uk>2013-03-05 20:30:31 +0000
committerJohn McLear <john@mclear.co.uk>2013-03-05 20:30:31 +0000
commitf9f8b1c0794610f08cb41bd0d06a427719701ed1 (patch)
tree6b923a81cd1cf782d710cd9c9a1ecb1d2a2c795c
parent2b5cb2989c3cee71ee10955bb5ff08a253ec66af (diff)
downloadetherpad-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
-rw-r--r--src/static/js/ace2_inner.js2
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;