mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-01 03:12:42 +01:00
line numbers have correct height
This commit is contained in:
parent
99a6e2ab8f
commit
4f888190ae
1 changed files with 2 additions and 1 deletions
|
@ -5338,7 +5338,7 @@ function Ace2Inner(editorInfo){
|
||||||
//update height of all current line numbers
|
//update height of all current line numbers
|
||||||
|
|
||||||
var a = sideDivInner.firstChild;
|
var a = sideDivInner.firstChild;
|
||||||
var b = doc.body.firstChild;
|
var b = innerdocbody.firstChild;
|
||||||
var n = 0;
|
var n = 0;
|
||||||
|
|
||||||
if (currentCallStack && currentCallStack.domClean)
|
if (currentCallStack && currentCallStack.domClean)
|
||||||
|
@ -5376,6 +5376,7 @@ function Ace2Inner(editorInfo){
|
||||||
var container = sideDivInner;
|
var container = sideDivInner;
|
||||||
var odoc = window.document;
|
var odoc = window.document;
|
||||||
var fragment = odoc.createDocumentFragment();
|
var fragment = odoc.createDocumentFragment();
|
||||||
|
|
||||||
while (lineNumbersShown < newNumLines)
|
while (lineNumbersShown < newNumLines)
|
||||||
{
|
{
|
||||||
lineNumbersShown++;
|
lineNumbersShown++;
|
||||||
|
|
Loading…
Reference in a new issue