Skip to content

Commit

Permalink
Comply to new addScript API
Browse files Browse the repository at this point in the history
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
  • Loading branch information
skjnldsv committed Dec 1, 2021
1 parent 57d0b64 commit 1d118d3
Show file tree
Hide file tree
Showing 6 changed files with 2,447 additions and 2,542 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
module.exports = {
globals: {
appName: true,
appVersion: true,
isTesting: true,
PLYR_ICONS: true,
Expand Down
2 changes: 1 addition & 1 deletion lib/Listener/LoadViewerScript.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ public function handle(Event $event): void {
return;
}

Util::addScript(Application::APP_ID, 'viewer-main');
Util::addScript(Application::APP_ID, 'viewer-main', 'files');
}
}
Loading

0 comments on commit 1d118d3

Please sign in to comment.