]> _ Git - fluidbook-toolbox.git/commitdiff
wait #5798 @1
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 10 Mar 2023 12:56:33 +0000 (13:56 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 10 Mar 2023 12:56:33 +0000 (13:56 +0100)
app/Jobs/FluidbookCompiler.php

index 4cfe398da8e6cf2bff0a8d67e00aa0b7e157bfdb..e5ea82c0fa5d125466810c76474f21b7b75f9b74 100644 (file)
@@ -2385,7 +2385,7 @@ height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
             }
 
             $linksToAdd = [$link];
-            if ($link->overlapDoublePage()) {
+            if ($link->overlapDoublePage() && !$this->_fluidbook->isOnePage()) {
                 $linksToAdd[] = $link->getRightClone();
             }