]> _ Git - odl.git/commitdiff
wait #4851 @1
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 2 Nov 2021 18:31:16 +0000 (19:31 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 2 Nov 2021 18:31:16 +0000 (19:31 +0100)
app/Jobs/ProcessFluidbook.php
resources/pdfjs/web/viewer.html

index 3f1be554a9854e795c287e9e9826d013ff6e1dba..c38e646261cf6652d33c6430769497b8d121b16b 100644 (file)
@@ -69,6 +69,7 @@ class ProcessFluidbook extends Compiler
     public function prepareStub()
     {
         parent::prepareStub();
+        Files::rmdir($this->stub.'/pdfjs');
         $this->vdir->copyDirectory(resource_path('pdfjs'), '/pdfjs');
     }
 
index 1220396fafbdcbd728cbce7df66b49136efef56e..3f642424685a599ed621465a75d83d98b5abfa6a 100644 (file)
@@ -49,12 +49,8 @@ See https://github.com/adobe-type-tools/cmap-resources
         });
     </script>
     <script src="../build/pdf.js"></script>
-
-
     <script src="viewer.js"></script>
-
 </head>
-
 <body tabindex="1">
 <div id="outerContainer">