Skip to content

Commit

Permalink
unbreak script
Browse files Browse the repository at this point in the history
  • Loading branch information
TangentFoxy committed Sep 2, 2016
1 parent 9515683 commit defeb5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/color.moon
Expand Up @@ -4,7 +4,7 @@ class extends Widget
content: =>
link rel: "stylesheet", href: @build_url "static/css/pure-min.css"
link rel: "stylesheet", href: @build_url "static/css/color.css"
script raw "
script -> raw "
window.onload = function() {
document.getElementsByTagName('body')[0].style = 'color: ' + document.getElementById('code').value + ';';
}
Expand Down

0 comments on commit defeb5e

Please sign in to comment.