summaryrefslogtreecommitdiff
path: root/js/render.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/render.js')
-rw-r--r--js/render.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/render.js b/js/render.js
index 205da88..bd6deb1 100644
--- a/js/render.js
+++ b/js/render.js
@@ -7,6 +7,7 @@ function choose (){
loading = true
$("#url").val(this.src)
loadImage(this.src, ready)
+ reset()
}
function load(){
@@ -84,6 +85,7 @@ function reset(){
pause(false)
$("#workspace img").remove()
$("#workspace canvas").show()
+ $("#uploaded-url").hide().val("")
remove_all_frames()
draw(0)
}