Skip to content

Commit

Permalink
Merge pull request #558 from nextcloud/fix/noid/what-for-viewer
Browse files Browse the repository at this point in the history
fix(UI): script to register at viewer has to require viewer
  • Loading branch information
juliusknorr authored May 14, 2024
2 parents eb14b3a + 6202017 commit 990e09f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Listener/LoadViewerListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@

class LoadViewerListener implements IEventListener {
public function handle(Event $event): void {
Util::addScript('officeonline', 'viewer');
Util::addScript('officeonline', 'viewer', 'viewer');
}
}

0 comments on commit 990e09f

Please sign in to comment.