summaryrefslogtreecommitdiff
path: root/src/static/js/ace2_inner.js
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2013-03-15 21:43:58 +0100
committerMarcel Klehr <mklehr@gmx.net>2013-03-15 21:43:58 +0100
commita31605216fe72b8ae213394385aecee0bfb24ff2 (patch)
tree9c7946c3ea5f8ec75cf7929f122dac6d74f5a28b /src/static/js/ace2_inner.js
parent844012864ff4a7ecb5b236983578d3e36b915304 (diff)
parent54433db47f5083faa921da6050b4e4e4b55dfb20 (diff)
downloadetherpad-lite-a31605216fe72b8ae213394385aecee0bfb24ff2.zip
Merge branch 'release/1.2.9'
Diffstat (limited to 'src/static/js/ace2_inner.js')
-rw-r--r--src/static/js/ace2_inner.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/static/js/ace2_inner.js b/src/static/js/ace2_inner.js
index b8b59b84..2dc6408b 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;
@@ -5125,7 +5125,7 @@ function Ace2Inner(){
function initLineNumbers()
{
lineNumbersShown = 1;
- sideDiv.innerHTML = '<table border="0" cellpadding="0" cellspacing="0" align="right">' + '<tr><td id="sidedivinner"><div>1</div></td></tr></table>';
+ sideDiv.innerHTML = '<table border="0" cellpadding="0" cellspacing="0" align="right"><tr><td id="sidedivinner"><div>1</div></td></tr></table>';
sideDivInner = outerWin.document.getElementById("sidedivinner");
}