]> _ Git - fluidbook-html5.git/commitdiff
wait #5617 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 30 Nov 2022 10:23:10 +0000 (11:23 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 30 Nov 2022 10:23:10 +0000 (11:23 +0100)
js/libs/fluidbook/fluidbook.tabs.js

index 6b5e2c0c1e72403572687f9785e3017c3406d275..19d4d9f698d776e8e4dd99bcd7b2c933b9a6152c 100644 (file)
@@ -128,7 +128,7 @@ FluidbookTabs.prototype = {
                 var foundOnePage = false;
                 $.each(pages, function (k, p) {
                     let weight = 1;
-                    let e = p.split('*');
+                    let e = p.toString().split('*');
                     if (e.length === 2) {
                         weight = parseInt(e[1]);
                         p = e[0];