ace2_inner: remove Chrome specific hack
This code was specific for older Chrome versions. It can be simplified now. Fixes #3487
This commit is contained in:
parent
8987c5d813
commit
3872690715
1 changed files with 0 additions and 9 deletions
|
@ -625,15 +625,6 @@ function Ace2Inner(){
|
|||
});
|
||||
}, 0);
|
||||
|
||||
// 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").addClass("noprewrap");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function setStyled(newVal)
|
||||
|
|
Loading…
Reference in a new issue