diff options
Diffstat (limited to 'appinfo/app.php')
-rw-r--r-- | appinfo/app.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/appinfo/app.php b/appinfo/app.php index 9785bc7d..087b31de 100644 --- a/appinfo/app.php +++ b/appinfo/app.php @@ -37,14 +37,13 @@ $eventDispatcher = \OC::$server->getEventDispatcher(); $eventDispatcher->addListener( 'OCA\Files::loadAdditionalScripts', function() { - \OCP\Util::addScript('richdocuments', 'viewer'); - \OCP\Util::addStyle('richdocuments', 'viewer'); + \OCP\Util::addScript('richdocuments', 'files'); } ); $eventDispatcher->addListener( 'OCA\Files_Sharing::loadAdditionalScripts', function() { - \OCP\Util::addScript('richdocuments', 'viewer'); + \OCP\Util::addScript('richdocuments', 'files'); } ); |