From: Vincent Vanwaelscappel Date: Thu, 10 Jan 2019 16:24:57 +0000 (+0100) Subject: #2502 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=1875864ef314662ff0f007bb47b24698259e2610;p=fluidbook-html5.git #2502 --- diff --git a/js/libs/fluidbook/fluidbook.js b/js/libs/fluidbook/fluidbook.js index 33a10867..d0b1c0dc 100644 --- a/js/libs/fluidbook/fluidbook.js +++ b/js/libs/fluidbook/fluidbook.js @@ -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';