diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2021-12-01 20:25:03 +0300 |
---|---|---|
committer | nextcloud-command <nextcloud-command@users.noreply.github.com> | 2021-12-01 20:44:42 +0300 |
commit | ff256250399f78953c41e6df6f289719e7def844 (patch) | |
tree | 8fbb2dbc008aba98b6365e9f92c2255ee508ad88 /lib | |
parent | 037604907563b74f07cd3aac8df8426564b8d0e5 (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.php | 2 |
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'); } } |