diff options
author | Julius Härtl <jus@bitgrid.net> | 2022-08-31 12:05:13 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2022-09-01 14:15:42 +0200 |
commit | b6a68028576e4c497e2e23e2b45121412522b030 (patch) | |
tree | 34bef373c1a414aa008f481e5e4b2a5bc7d27fae /apps/dashboard | |
parent | d6bd98d3c5ff09abd48d9aff4960638c34f9d58b (diff) | |
download | nextcloud-server-b6a68028576e4c497e2e23e2b45121412522b030.tar.gz nextcloud-server-b6a68028576e4c497e2e23e2b45121412522b030.zip |
Some more fixes
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/dashboard')
-rw-r--r-- | apps/dashboard/src/DashboardApp.vue | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/apps/dashboard/src/DashboardApp.vue b/apps/dashboard/src/DashboardApp.vue index 4477ce29016..883da90c992 100644 --- a/apps/dashboard/src/DashboardApp.vue +++ b/apps/dashboard/src/DashboardApp.vue @@ -365,18 +365,18 @@ export default { if (isBackgroundBright) { document.querySelector('#header').style.setProperty('--primary-invert-if-bright', 'invert(100%)') document.querySelector('#header').style.setProperty('--color-primary-text', '#000000') - //document.body.removeAttribute('data-theme-dark') - //document.body.setAttribute('data-theme-light', 'true') + // document.body.removeAttribute('data-theme-dark') + // document.body.setAttribute('data-theme-light', 'true') } else { document.querySelector('#header').style.setProperty('--primary-invert-if-bright', 'no') document.querySelector('#header').style.setProperty('--color-primary-text', '#ffffff') - //document.body.removeAttribute('data-theme-light') - //document.body.setAttribute('data-theme-dark', 'true') + // document.body.removeAttribute('data-theme-light') + // document.body.setAttribute('data-theme-dark', 'true') } - document.documentElement.style.setProperty('--image-main-background', this.backgroundStyle.backgroundImage); - document.querySelector('#header').style.setProperty('--image-main-background', this.backgroundStyle.backgroundImage); - document.querySelector('body').style.setProperty('--image-main-background', this.backgroundStyle.backgroundImage); + document.documentElement.style.setProperty('--image-main-background', this.backgroundStyle.backgroundImage) + document.querySelector('#header').style.setProperty('--image-main-background', this.backgroundStyle.backgroundImage) + document.querySelector('body').style.setProperty('--image-main-background', this.backgroundStyle.backgroundImage) }, updateSkipLink() { // Make sure "Skip to main content" link points to the app content |