]> _ Git - fluidbook-html5.git/commitdiff
#2502
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 10 Jan 2019 16:24:57 +0000 (17:24 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 10 Jan 2019 16:24:57 +0000 (17:24 +0100)
js/libs/fluidbook/fluidbook.js

index 33a10867fbea0822afd5b1e045ffcf18df29ba83..d0b1c0dcccbf58d5d0e4fc01f056c6fb6d779edb 100644 (file)
@@ -203,17 +203,16 @@ Fluidbook.prototype = {
             })
         }
 
-        this.allowChangePage(1.5);
+        this.allowChangePage();
         $(this).trigger('fluidbook.splash.hide');
     },
 
-    allowChangePage: function (timeout) {
+    allowChangePage: function () {
         var $this = this;
         setTimeout(function () {
-            console.log('can change page');
             $this.canNavigate = true;
             $($this).trigger('fluidbook.navigation.cannavigate');
-        }, timeout * 1000);
+        }, 1500);
     },
 
     ready: function () {
@@ -314,7 +313,6 @@ Fluidbook.prototype = {
     },
     goLastPage: function () {
         if (!this.pagetransitions.canChangePage()) {
-            console.log('golastpage skip');
             return;
         }
         this.transitionAxis = 'x';