Skip to content

Commit

Permalink
[bp-status] changing innerText to innerHTML in js
Browse files Browse the repository at this point in the history
  • Loading branch information
newtoncalegari committed Feb 4, 2016
1 parent 6cb12bf commit 7c43580
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bp-status.html
Expand Up @@ -235,7 +235,7 @@

<script>
function classifier(el) {
el.className += " " + el.innerText.toLowerCase().replace(/\s/g, "-");
el.className += " " + el.innerHTML.toLowerCase().replace(/\s/g, "-");
}

var exampleStatus = document.getElementsByClassName("example-status");
Expand All @@ -248,4 +248,4 @@
</script>

</body>
</html>
</html>

0 comments on commit 7c43580

Please sign in to comment.