summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn McLear <john@mclear.co.uk>2013-03-08 08:40:40 -0800
committerJohn McLear <john@mclear.co.uk>2013-03-08 08:40:40 -0800
commit26a6765b50ffdb4c2739d7c5ec3e24bdd9e7dc9f (patch)
tree03f09d75b7824fda8593b04d64452b0dcdfd25b1
parent0b16d96c970db4ba6c43afd1763b3dde818006c2 (diff)
downloadetherpad-lite-26a6765b50ffdb4c2739d7c5ec3e24bdd9e7dc9f.zip
fix indent on chrome in linux
-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 b8b59b84..e57bb36e 100644
--- a/src/static/js/ace2_inner.js
+++ b/src/static/js/ace2_inner.js
@@ -3583,7 +3583,7 @@ function Ace2Inner(){
}
var specialHandled = false;
- var isTypeForSpecialKey = ((browser.msie || browser.safari) ? (type == "keydown") : (type == "keypress"));
+ var isTypeForSpecialKey = ((browser.msie || browser.safari || browser.chrome) ? (type == "keydown") : (type == "keypress"));
var isTypeForCmdKey = ((browser.msie || browser.safari || browser.chrome) ? (type == "keydown") : (type == "keypress"));
var stopped = false;