summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2020-07-22 12:04:16 +0200
committerJulius Härtl <jus@bitgrid.net>2020-07-22 12:04:16 +0200
commit57075fa54dbc86565dcfce0874c6029081b06478 (patch)
treeae297c746bf4f89352afb6e8e726a364f317e18f /apps
parentcda6fad1e86e663f1f94ac8a0d9b945eacdb30c9 (diff)
downloadnextcloud-server-57075fa54dbc86565dcfce0874c6029081b06478.tar.gz
nextcloud-server-57075fa54dbc86565dcfce0874c6029081b06478.zip
Load accessibilityoca script
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps')
-rw-r--r--apps/accessibility/lib/AppInfo/Application.php1
1 files changed, 1 insertions, 0 deletions
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'];