summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2020-07-22 17:47:33 +0200
committerGitHub <noreply@github.com>2020-07-22 17:47:33 +0200
commitc842678f0a1fb65981a03302895192ddc58479c9 (patch)
tree5829e891a957912b7fb83550052843c9ca2eaf69
parent5fea50b770de61f126b460d98cbaea04bbc65436 (diff)
parent57075fa54dbc86565dcfce0874c6029081b06478 (diff)
downloadnextcloud-server-c842678f0a1fb65981a03302895192ddc58479c9.tar.gz
nextcloud-server-c842678f0a1fb65981a03302895192ddc58479c9.zip
Merge pull request #21948 from nextcloud/bugfix/noid/accesibilityoca
Load accessibilityoca script
-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'];