From 5c7ad6d3ec91ee81012b2888017b95fccafea422 Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Tue, 21 Mar 2017 16:35:31 +0100 Subject: Merge some CSS files using our SCSS compiler This saves around 4 requests on the average page load. Signed-off-by: Lukas Reschke --- apps/files/lib/Controller/ViewController.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'apps/files/lib') diff --git a/apps/files/lib/Controller/ViewController.php b/apps/files/lib/Controller/ViewController.php index 788840ff1cc..a1f01cb8a38 100644 --- a/apps/files/lib/Controller/ViewController.php +++ b/apps/files/lib/Controller/ViewController.php @@ -152,9 +152,6 @@ class ViewController extends Controller { $nav = new \OCP\Template('files', 'appnavigation', ''); // Load the files we need - \OCP\Util::addStyle('files', 'files'); - \OCP\Util::addStyle('files', 'upload'); - \OCP\Util::addStyle('files', 'mobile'); \OCP\Util::addScript('files', 'app'); \OCP\Util::addScript('files', 'file-upload'); \OCP\Util::addScript('files', 'newfilemenu'); @@ -179,7 +176,7 @@ class ViewController extends Controller { \OCP\Util::addScript('files', 'detailtabview'); \OCP\Util::addScript('files', 'mainfileinfodetailview'); \OCP\Util::addScript('files', 'detailsview'); - \OCP\Util::addStyle('files', 'detailsView'); + \OCP\Util::addStyle('files', 'merged'); \OC_Util::addVendorScript('core', 'handlebars/handlebars'); -- cgit v1.2.3