mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
only apply saved theme when dom content has loaded
Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
parent
0e960b8ca4
commit
9bf38d2795
1 changed files with 2 additions and 2 deletions
|
|
@ -22,5 +22,5 @@ function applySavedTheme() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Immediately apply the saved theme
|
// Apply theme when the page loads
|
||||||
applySavedTheme();
|
document.addEventListener('DOMContentLoaded', applySavedTheme);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue