mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 23:46:14 -04:00
remove empty&unused overlaysdiv
This commit is contained in:
parent
4dd3584532
commit
020bd3915c
3 changed files with 1 additions and 4 deletions
|
@ -159,8 +159,6 @@ p {
|
||||||
font-family: monospace; /* overridden by lineMetricsDiv.style */
|
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
|
/* 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. */
|
Commented out because it stops IE from being able to render the document, crazy IE bug is crazy. */
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -313,7 +313,7 @@ window.onload = function () {\n\
|
||||||
|
|
||||||
// bizarrely, in FF2, a file with no "external" dependencies won't finish loading properly
|
// bizarrely, in FF2, a file with no "external" dependencies won't finish loading properly
|
||||||
// (throbs busy while typing)
|
// (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");
|
var outerFrame = document.createElement("IFRAME");
|
||||||
outerFrame.name = "ace_outer";
|
outerFrame.name = "ace_outer";
|
||||||
|
|
|
@ -79,7 +79,6 @@ function Ace2Inner(){
|
||||||
iframe.ace_outerWin = null; // prevent IE 6 memory leak
|
iframe.ace_outerWin = null; // prevent IE 6 memory leak
|
||||||
var sideDiv = iframe.nextSibling;
|
var sideDiv = iframe.nextSibling;
|
||||||
var lineMetricsDiv = sideDiv.nextSibling;
|
var lineMetricsDiv = sideDiv.nextSibling;
|
||||||
var overlaysdiv = lineMetricsDiv.nextSibling;
|
|
||||||
initLineNumbers();
|
initLineNumbers();
|
||||||
|
|
||||||
var outsideKeyDown = noop;
|
var outsideKeyDown = noop;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue