diff options
Diffstat (limited to 'lib/Files/TemplateLoader.php')
-rw-r--r-- | lib/Files/TemplateLoader.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Files/TemplateLoader.php b/lib/Files/TemplateLoader.php index efaf5384f..5bb20f75b 100644 --- a/lib/Files/TemplateLoader.php +++ b/lib/Files/TemplateLoader.php @@ -97,7 +97,9 @@ class TemplateLoader implements IEventListener { Util::addStyle(Application::APP_ID, 'At'); Util::addStyle(Application::APP_ID, 'icons'); - Util::addScript(Application::APP_ID, 'talk-files-sidebar'); + if (strpos(\OC::$server->getRequest()->getPathInfo(), '/apps/maps') !== 0) { + Util::addScript(Application::APP_ID, 'talk-files-sidebar'); + } if ($user instanceof IUser) { $this->publishInitialStateForUser($user, $this->rootFolder, $this->appManager); |