mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-31 19:02:59 +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
|
||||
|
||||
var a = sideDivInner.firstChild;
|
||||
var b = doc.body.firstChild;
|
||||
var b = innerdocbody.firstChild;
|
||||
var n = 0;
|
||||
|
||||
if (currentCallStack && currentCallStack.domClean)
|
||||
|
@ -5376,6 +5376,7 @@ function Ace2Inner(editorInfo){
|
|||
var container = sideDivInner;
|
||||
var odoc = window.document;
|
||||
var fragment = odoc.createDocumentFragment();
|
||||
|
||||
while (lineNumbersShown < newNumLines)
|
||||
{
|
||||
lineNumbersShown++;
|
||||
|
|
Loading…
Reference in a new issue