summaryrefslogtreecommitdiff
path: root/src/static/js/ace2_inner.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/static/js/ace2_inner.js')
-rw-r--r--src/static/js/ace2_inner.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/static/js/ace2_inner.js b/src/static/js/ace2_inner.js
index 7773074e..cf062d26 100644
--- a/src/static/js/ace2_inner.js
+++ b/src/static/js/ace2_inner.js
@@ -608,8 +608,11 @@ function Ace2Inner(){
// Chrome can't handle the truth.. If CSS rule white-space:pre-wrap
// is true then any paste event will insert two lines..
+ // Sadly this will mean you get a walking Caret in Chrome when clicking on a URL
+ // So this has to be set to pre-wrap ;(
+ // We need to file a bug w/ the Chromium team.
if(browser.chrome){
- $("#innerdocbody").css({"white-space":"normal"});
+ $("#innerdocbody").css({"white-space":"pre-wrap"});
}
}