]> _ Git - fluidbook-html5.git/commitdiff
wait #7489 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 10 Sep 2025 14:28:01 +0000 (16:28 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 10 Sep 2025 14:28:01 +0000 (16:28 +0200)
js/libs/fluidbook/fluidbook.elasticslide.js

index 8989e36560f4ef324c0b3fb414575f2f60226b5d..3e8e249f5efb7283a1426599e4af3a4e138ee8b3 100644 (file)
@@ -5,7 +5,7 @@ function FluidbookElasticSlide(fluidbook) {
     this.ignoreScroll = false;
     this.scrollingPage = null;
     this.currentlyActive = false;
-    this.helpNeeded = true;
+    this.helpNeeded = this.fluidbook.cache.get('elasticslide.helpNeeded', "1") === "1";
     this.init();
 }
 
@@ -171,6 +171,7 @@ FluidbookElasticSlide.prototype = {
     },
 
     showHelp: function () {
+        this.fluidbook.cache.get('elasticslide.helpNeeded', "0");
         let $this = this;
         this.helpNeeded = false;
         clearTimeout(this.helpTimeout);