diff options
author | webzwo0i <webzwo0i@c3d2.de> | 2013-12-08 17:24:12 +0100 |
---|---|---|
committer | webzwo0i <webzwo0i@c3d2.de> | 2013-12-08 17:24:12 +0100 |
commit | 020bd3915c8cfaccfffbe12c563912f6dc7eaede (patch) | |
tree | b1da052ec599a02fa668fa7f22d003d18d377cb4 | |
parent | 4dd3584532a862caa7ce058325fde4f793fe5b32 (diff) | |
download | etherpad-lite-020bd3915c8cfaccfffbe12c563912f6dc7eaede.zip |
remove empty&unused overlaysdiv
-rw-r--r-- | src/static/css/iframe_editor.css | 2 | ||||
-rw-r--r-- | src/static/js/ace.js | 2 | ||||
-rw-r--r-- | src/static/js/ace2_inner.js | 1 |
3 files changed, 1 insertions, 4 deletions
diff --git a/src/static/css/iframe_editor.css b/src/static/css/iframe_editor.css index ddb509f4..beec4971 100644 --- a/src/static/css/iframe_editor.css +++ b/src/static/css/iframe_editor.css @@ -159,8 +159,6 @@ p { font-family: monospace; /* overridden by lineMetricsDiv.style */ } -#overlaysdiv { position: absolute; left: -1000px; top: -1000px; } - /* Stops super long lines without being spaces such as aaaaaaaaaaaaaa*100 breaking the editor Commented out because it stops IE from being able to render the document, crazy IE bug is crazy. */ /* diff --git a/src/static/js/ace.js b/src/static/js/ace.js index db0d596b..d2bbb484 100644 --- a/src/static/js/ace.js +++ b/src/static/js/ace.js @@ -313,7 +313,7 @@ window.onload = function () {\n\ // bizarrely, in FF2, a file with no "external" dependencies won't finish loading properly // (throbs busy while typing) - outerHTML.push('<style type="text/css" title="dynamicsyntax"></style>', '<link rel="stylesheet" type="text/css" href="data:text/css,"/>', scriptTag(outerScript), '</head><body id="outerdocbody"><div id="sidediv"><!-- --></div><div id="linemetricsdiv">x</div><div id="overlaysdiv"><!-- --></div></body></html>'); + outerHTML.push('<style type="text/css" title="dynamicsyntax"></style>', '<link rel="stylesheet" type="text/css" href="data:text/css,"/>', scriptTag(outerScript), '</head><body id="outerdocbody"><div id="sidediv"><!-- --></div><div id="linemetricsdiv">x</div></body></html>'); var outerFrame = document.createElement("IFRAME"); outerFrame.name = "ace_outer"; diff --git a/src/static/js/ace2_inner.js b/src/static/js/ace2_inner.js index 2798de44..ec842285 100644 --- a/src/static/js/ace2_inner.js +++ b/src/static/js/ace2_inner.js @@ -79,7 +79,6 @@ function Ace2Inner(){ iframe.ace_outerWin = null; // prevent IE 6 memory leak var sideDiv = iframe.nextSibling; var lineMetricsDiv = sideDiv.nextSibling; - var overlaysdiv = lineMetricsDiv.nextSibling; initLineNumbers(); var outsideKeyDown = noop; |