From 2e0655565dad70597c2cb013729a32a77cdc8aa2 Mon Sep 17 00:00:00 2001 From: hrj Date: Tue, 15 Aug 2017 16:47:04 +0000 Subject: [PATCH] Added missing parameter to begincount Close GH-44 --- src/flif-post.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/flif-post.js b/src/flif-post.js index 468fdc1..f8b47f3 100644 --- a/src/flif-post.js +++ b/src/flif-post.js @@ -315,7 +315,7 @@ load(src, bytes, function(content) { setTimeout(function() { var pf = new PolyFlif({"buf": content, "canvas": elem}); - pf["beginCount"](-1, rw, rh); + pf["beginCount"](true, -1, rw, rh); }, 1); }); } @@ -332,7 +332,7 @@ } setTimeout(function() { var pf = new PolyFlif({"buf": content, "canvas": cElem, onload: loaded}); - pf["beginCount"](-1, 0, 0); + pf["beginCount"](true, -1, 0, 0); }, 1); }); }