better fix for #2625

This commit is contained in:
John McLear 2015-05-01 20:44:36 +01:00
parent 4938c7be38
commit 0a9c631410
2 changed files with 6 additions and 2 deletions

View file

@ -612,7 +612,7 @@ function Ace2Inner(){
// So this has to be set to pre-wrap ;(
// We need to file a bug w/ the Chromium team.
if(browser.chrome){
$("#innerdocbody, body.doesWrap > div").css({"white-space":"pre-wrap"});
$("#innerdocbody").addClass("noprewrap");
}
}