]> _ Git - fluidbook-html5.git/commitdiff
wip #6961 @1
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 29 Jul 2024 18:03:50 +0000 (20:03 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 29 Jul 2024 18:03:50 +0000 (20:03 +0200)
js/libs/fluidbook/fluidbook.links.animations.js

index 8d78f4c75db0c527ae057bf1fcf0a23ebf82c0a4..4e6190454c46bbb9eb0bd9c58ceb3247ef3f6abe 100644 (file)
@@ -396,7 +396,7 @@ FluidbookLinksAnimations.prototype = {
             $(link).data('gsap', anims);
         }
 
-        if (this.fluidbook !== null) {
+        if (this.fluidbook !== false) {
             this.fluidbook.networkControl.pause((to.delay + duration + 0.5) * 1000);
         }
     },
@@ -414,3 +414,5 @@ FluidbookLinksAnimations.prototype = {
         return ease;
     },
 }
+
+