Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/files_pdfviewer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2021-12-01 20:25:03 +0300
committernextcloud-command <nextcloud-command@users.noreply.github.com>2021-12-01 20:44:42 +0300
commitff256250399f78953c41e6df6f289719e7def844 (patch)
tree8fbb2dbc008aba98b6365e9f92c2255ee508ad88 /lib
parent037604907563b74f07cd3aac8df8426564b8d0e5 (diff)
Comply to new addScript API
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/Listeners/LoadViewerListener.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Listeners/LoadViewerListener.php b/lib/Listeners/LoadViewerListener.php
index a382b66..331fa56 100644
--- a/lib/Listeners/LoadViewerListener.php
+++ b/lib/Listeners/LoadViewerListener.php
@@ -37,6 +37,6 @@ class LoadViewerListener implements IEventListener {
if (!$event instanceof LoadViewer) {
return;
}
- Util::addScript(Application::APP_ID, 'files_pdfviewer-main');
+ Util::addScript(Application::APP_ID, 'files_pdfviewer-main', 'viewer');
}
}