]> _ Git - fluidbook-toolbox.git/commitdiff
wait #5515
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 7 Oct 2022 16:42:38 +0000 (18:42 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 7 Oct 2022 16:42:38 +0000 (18:42 +0200)
app/Jobs/FluidbookCompiler.php

index cdb26daf2a073d87d1638833ab6094c91f61c0ee..02b9b58dcda648fe0db441f3b7f82350fbe3fea0 100644 (file)
@@ -287,7 +287,6 @@ class FluidbookCompiler extends Base implements CompilerInterface
     {
         parent::__construct();
 
-
         $this->setFluidbook($book);
         $this->setCommand($command);
 
@@ -2601,9 +2600,9 @@ height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
         $this->config->bookmarkGroups[] = array('page' => ($link['page']), 'nb' => $link['to'], 'name' => $link['extra']);
     }
 
-    public function addTriggersLink($page, $link)
+    public function addTriggersLink($page, $link, $delay = 0)
     {
-        $this->config->triggersLinks[] = ['page' => $page, 'link' => $link];
+        $this->config->triggersLinks[] = ['page' => $page, 'link' => $link, 'delay' => $delay];
     }
 
     public function addAudiodescription($link)