]> _ Git - fluidbook-html5.git/commitdiff
wait #4618 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 23 Jul 2021 12:36:16 +0000 (14:36 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 23 Jul 2021 12:36:16 +0000 (14:36 +0200)
js/libs/fluidbook/fluidbook.nav.js

index db007083eb944f8474f0e8ad25520929a2e7bf48..17b1e6ca3df7b19bcef3ea52e9214a83830bee58 100644 (file)
@@ -620,7 +620,8 @@ FluidbookNav.prototype = {
                     });
 
                     if(foundLink===''){
-                        return;
+                        console.log('link not found');
+                        continue;
                     }
 
                     link = $(foundLink).find('a').append(linkIcon);
@@ -634,6 +635,8 @@ FluidbookNav.prototype = {
                     link = '<a href="' + extraURL + '" target="_blank" rel="noopener">' + linkIcon + '</a>';
                 }
 
+                console.log(link);
+
                 var nav = this.getNavFromType(navType);
                 nav.find('ul').append('<li>' + link + '</li>');
             }