Skip to content

Commit

Permalink
fixing <br>s caused by innerText by using textContent instead
Browse files Browse the repository at this point in the history
  • Loading branch information
rodneyrehm committed Mar 10, 2014
1 parent b6c3981 commit 11a1e17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion viewport-units-buggyfill.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
}

function updateStyles() {
styleNode.innerText = getReplacedViewportUnits();
styleNode.textContent = getReplacedViewportUnits();
}

function refresh() {
Expand Down

0 comments on commit 11a1e17

Please sign in to comment.