]> _ Git - fluidbook-html5.git/commitdiff
fix #3725 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 22 Jun 2020 15:39:19 +0000 (17:39 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 22 Jun 2020 15:39:19 +0000 (17:39 +0200)
js/libs/fluidbook/fluidbook.tabs.js

index 6323a6012002bcae9e0fcded2ee2760bf16a3664..d562a55fddf7cf875c956706112b563ddb3b2133 100644 (file)
@@ -267,7 +267,7 @@ FluidbookTabs.prototype = {
             l.css(commoncss);
             l.css(v.css);
 
-            if (v.page) {
+            if (v.page >= 0) {
                 l.attr('href', '#/page/' + v.page);
             }
             if ($this.hasSections()) {