Use textContent instead of innerText

This commit is contained in:
Antonio Scandurra 2015-09-14 20:28:09 +02:00
parent f0bc6ca23a
commit 663de4c8d6

View File

@ -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) ->