From 5faf4af7c98e4b3dead27d6e4ca4c76e7462d6f2 Mon Sep 17 00:00:00 2001 From: juliandescottes Date: Mon, 10 Oct 2016 02:44:51 +0200 Subject: [PATCH] fix page title update when loading existing piskel --- src/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/app.js b/src/js/app.js index d5b45943..8c0b076b 100644 --- a/src/js/app.js +++ b/src/js/app.js @@ -178,13 +178,13 @@ loadPiskel_ : function (piskelData) { var serializedPiskel = piskelData.piskel; pskl.utils.serialization.Deserializer.deserialize(serializedPiskel, function (piskel, extra) { + pskl.app.piskelController.setPiskel(piskel); var fps = extra.fps; if (piskelData.descriptor) { // Backward compatibility for v2 or older piskel.setDescriptor(piskelData.descriptor); fps = piskelData.fps; } - pskl.app.piskelController.setPiskel(piskel); pskl.app.previewController.setFPS(fps); }); },