diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2017-03-21 16:35:31 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2017-03-21 16:35:31 +0100 |
commit | 5c7ad6d3ec91ee81012b2888017b95fccafea422 (patch) | |
tree | 8bd90cddf99e7fa95c57bc6e0c82625d4ef5fef8 /apps/files_sharing/appinfo | |
parent | 7e958370970368d142cf65cdfe3e9191dcc34766 (diff) | |
download | nextcloud-server-5c7ad6d3ec91ee81012b2888017b95fccafea422.tar.gz nextcloud-server-5c7ad6d3ec91ee81012b2888017b95fccafea422.zip |
Merge some CSS files using our SCSS compiler
This saves around 4 requests on the average page load.
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'apps/files_sharing/appinfo')
-rw-r--r-- | apps/files_sharing/appinfo/app.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/files_sharing/appinfo/app.php b/apps/files_sharing/appinfo/app.php index 8228e761592..d8de40e9751 100644 --- a/apps/files_sharing/appinfo/app.php +++ b/apps/files_sharing/appinfo/app.php @@ -41,13 +41,10 @@ $eventDispatcher->addListener( \OCP\Util::addScript('files_sharing', 'share'); \OCP\Util::addScript('files_sharing', 'sharetabview'); \OCP\Util::addScript('files_sharing', 'sharebreadcrumbview'); - \OCP\Util::addStyle('files_sharing', 'sharetabview'); - \OCP\Util::addStyle('files_sharing', 'sharebreadcrumb'); + \OCP\Util::addStyle('files_sharing', 'mergedAdditionalScripts'); } ); -// \OCP\Util::addStyle('files_sharing', 'sharetabview'); - $config = \OC::$server->getConfig(); if ($config->getAppValue('core', 'shareapi_enabled', 'yes') === 'yes') { \OCA\Files\App::getNavigationManager()->add(function () { |