Merge pull request #21948 from nextcloud/bugfix/noid/accesibilityoca

Load accessibilityoca script
This commit is contained in:
John Molakvoæ 2020-07-22 17:47:33 +02:00 committed by GitHub
commit c842678f0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -73,6 +73,7 @@ class Application extends App implements IBootstrap {
$linkToCSS = $urlGenerator->linkToRoute(self::APP_ID . '.accessibility.getCss', ['md5' => $hash]); $linkToCSS = $urlGenerator->linkToRoute(self::APP_ID . '.accessibility.getCss', ['md5' => $hash]);
\OCP\Util::addHeader('link', ['rel' => 'stylesheet', 'href' => $linkToCSS]); \OCP\Util::addHeader('link', ['rel' => 'stylesheet', 'href' => $linkToCSS]);
} }
\OCP\Util::addScript('accessibility', 'accessibilityoca');
} else { } else {
$userValues = ['dark']; $userValues = ['dark'];