summaryrefslogtreecommitdiffstats
path: root/apps/accessibility/js/accessibilityoca.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/accessibility/js/accessibilityoca.js')
-rw-r--r--apps/accessibility/js/accessibilityoca.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/accessibility/js/accessibilityoca.js b/apps/accessibility/js/accessibilityoca.js
new file mode 100644
index 00000000000..756d21d0347
--- /dev/null
+++ b/apps/accessibility/js/accessibilityoca.js
@@ -0,0 +1,4 @@
+OCA.Accessibility = OCP.InitialState.loadState('accessibility', 'data')
+if (OCA.Accessibility.theme !== false) {
+ document.body.classList.add(OCA.Accessibility.theme);
+}