summaryrefslogtreecommitdiff
path: root/js/frames.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/frames.js')
-rw-r--r--js/frames.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/js/frames.js b/js/frames.js
index 62306fa..1d08807 100644
--- a/js/frames.js
+++ b/js/frames.js
@@ -109,7 +109,7 @@ function render (){
encoder.addFrame(frame.canvas, delay)
})
$("#pause,#render,#add-frame").disable()
- $("#rendered").find("img").remove()
+ $("#workspace").find("img").remove()
$("#rendered").show()
// really bad results with neuquant?
// status("quantizing")
@@ -144,7 +144,8 @@ encoder.on("rendered", function(bytes){
encoder.on("rendered-url", function(url){
var image = new Image ()
lastGif = image.src = url
- $("#rendered").append(image)
+ $("#workspace canvas").hide()
+ $("#workspace").append(image)
$("#uploaded-url").hide().val("")
$("#save,#upload,#rendered").show()
$("#pause,#render,#add-frame,#save,#upload").enable()