From 57075fa54dbc86565dcfce0874c6029081b06478 Mon Sep 17 00:00:00 2001 From: Julius Härtl Date: Wed, 22 Jul 2020 12:04:16 +0200 Subject: Load accessibilityoca script MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- apps/accessibility/lib/AppInfo/Application.php | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/accessibility/lib/AppInfo/Application.php b/apps/accessibility/lib/AppInfo/Application.php index 9f596e460e0..caad6e8438f 100644 --- a/apps/accessibility/lib/AppInfo/Application.php +++ b/apps/accessibility/lib/AppInfo/Application.php @@ -73,6 +73,7 @@ class Application extends App implements IBootstrap { $linkToCSS = $urlGenerator->linkToRoute(self::APP_ID . '.accessibility.getCss', ['md5' => $hash]); \OCP\Util::addHeader('link', ['rel' => 'stylesheet', 'href' => $linkToCSS]); } + \OCP\Util::addScript('accessibility', 'accessibilityoca'); } else { $userValues = ['dark']; -- cgit v1.2.3