mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-10 10:17:11 +03:00
Use textContent instead of innerText
This commit is contained in:
parent
f0bc6ca23a
commit
663de4c8d6
@ -116,7 +116,7 @@ class LineNumbersTileComponent
|
||||
padding = _.multiplyString("\u00a0", maxLineNumberDigits - lineNumber.length)
|
||||
iconRight = @domElementPool.build("div", "icon-right")
|
||||
|
||||
lineNumberNode.innerText = padding + lineNumber
|
||||
lineNumberNode.textContent = padding + lineNumber
|
||||
lineNumberNode.appendChild(iconRight)
|
||||
|
||||
updateLineNumberNode: (lineNumberId, newLineNumberState) ->
|
||||
|
Loading…
Reference in New Issue
Block a user