Skip to content

Commit

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

0 comments on commit babc8ed

Please sign in to comment.