]> _ Git - fluidbook-html5.git/commitdiff
#2288
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 5 Oct 2018 09:39:00 +0000 (11:39 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 5 Oct 2018 09:39:00 +0000 (11:39 +0200)
js/libs/fluidbook/fluidbook.js

index 0ef205478b65b6306e041e589a70841edb31d853..ee62c69313350daf84371d52454c8bcb64af1884 100644 (file)
@@ -455,11 +455,7 @@ Fluidbook.prototype = {
                 pageNr = 1;
             }
         }
-        console.log('transiton to ' + pageNr);
         pageNr = this.normalizePage(pageNr);
-        if(pageNr===0){
-            throw new Error('!!!');
-        }
         if (this.firstTransition || pageNr === this.normalizePage(this.currentPage) || this.currentPage === -1 || !this.support.transitions2d || this.datas.mobileTransitions === 'none') {
             this.firstTransition = false;
             return this.pageTransition1D(pageNr);