Merge pull request #21948 from nextcloud/bugfix/noid/accesibilityoca
Load accessibilityoca script
This commit is contained in:
commit
c842678f0a
|
@ -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'];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue