mirror of
https://github.com/atom/atom.git
synced 2026-01-24 06:18:03 -05:00
Use textContent instead of innerText
This commit is contained in:
@@ -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) ->
|
||||
|
||||
Reference in New Issue
Block a user