]> _ Git - fluidbook-html5.git/commitdiff
wip #4018 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 4 Nov 2020 12:59:20 +0000 (13:59 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 4 Nov 2020 12:59:20 +0000 (13:59 +0100)
js/libs/fluidbook/links/fluidbook.links.zoom.js

index 47047c7cdce01b5f593c49ca0fba9cb2e2fd1ac4..2754f935c5bfa607849801bbc3068b289c8ff64e 100644 (file)
@@ -187,8 +187,7 @@ FluidbookLinksZoom.prototype = {
                         } else {
                             linkClass = " nolabel";
                         }
-
-                        var hash = forge_sha256(data);
+                        var hash = data !== undefined ? forge_sha256(data) : '';
                         var add = '';
 
                         menu += '<a ';