summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/util.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/util.js b/js/util.js
index d31af47..5466c07 100644
--- a/js/util.js
+++ b/js/util.js
@@ -27,7 +27,7 @@ function loadImage(imageURL, callback) {
function giveImage() {
if (window.gif) {
- return gif.frames[gif.currentFrame()].ctx.canvas;
+ return gif.frames[gif.currentFrame()];
} else {
return img;
}