]> _ Git - fluidbook-html5.git/commitdiff
wait #3391 @1
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 16 Apr 2020 16:34:01 +0000 (18:34 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 16 Apr 2020 16:34:01 +0000 (18:34 +0200)
js/libs/fluidbook/fluidbook.js

index d62a9c80885abe122b6b1d5544cc306d83c2a1ca..739fc118a2096cd58767eaa474edb3e0be375006 100644 (file)
@@ -237,8 +237,8 @@ Fluidbook.prototype = {
 
     _hideSplash: function () {
         var $this = this;
-        var timeout = 1200;
-
+        var timeout = 700;
+        this.resize.resize(false, true);
         setTimeout(function () {
             $this.__hideSplash();
         }, timeout);
@@ -247,7 +247,7 @@ Fluidbook.prototype = {
     __hideSplash: function () {
 
         $("#main,#viewOverlay,#view").css('visibility', 'visible');
-        this.resize.resize(false, true);
+        this.resize.resize(false);
         this.hideLoader(0, true);
 
         if (this.support.transitions2d && !this.support.iOS) {