summaryrefslogtreecommitdiff
path: root/js/frames.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/frames.js')
-rw-r--r--js/frames.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/js/frames.js b/js/frames.js
index c9c844d..2dddae2 100644
--- a/js/frames.js
+++ b/js/frames.js
@@ -29,6 +29,10 @@ frame_editor.bind = function(){
$("#render").click(render)
$("#save").click(save)
$("#upload").click(upload)
+
+ $("#background").change(function(){
+ document.body.style.backgroundColor = $("#background").string()
+ })
}
function add_frame(){
@@ -121,8 +125,6 @@ function render (){
$("#render").html("rendering")
}
-function status(s){ $(".status").html(s) }
-
var encoder = new GifEncoder()
encoder.on("quantized", function(url){