From: Vincent Vanwaelscappel Date: Mon, 24 Apr 2023 15:56:03 +0000 (+0200) Subject: wait #5879 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=3e69b623b21cf1bd653244204dae4394057704fc;p=fluidbook-toolbox.git wait #5879 @0.5 --- diff --git a/app/Models/ELearningMedia.php b/app/Models/ELearningMedia.php index a455ad988..ba5cfc7a0 100644 --- a/app/Models/ELearningMedia.php +++ b/app/Models/ELearningMedia.php @@ -131,8 +131,8 @@ class ELearningMedia extends ToolboxModel $vdir->copyDirectory(resource_path('elearningmedia/dist/css'), 'css'); $vdir->copyDirectory(resource_path('elearningmedia/dist/js'), 'js'); if ($type === 'pdf') { - $vdir->copyDirectory(resource_path('pdfjs-legacy'), 'pdfjs'); - $css = file_get_contents(resource_path('pdfjs-legacy/web/viewer.css')); + $vdir->copyDirectory(resource_path('pdfjs/legacy'), 'pdfjs'); + $css = file_get_contents(resource_path('pdfjs/legacy/web/viewer.css')); $css .= 'body{--sidebar-width:400px;}'; $css .= '#openFile,#pageRotateCw,#pageRotateCcw,#pageRotateCcw + .horizontalToolbarSeparator{display:none !important;}'; $css .= '#viewBookmark,#print,#download{display:none !important}';