Merge pull request #778 from SISheogorath/fix/nightModeToggle

Fix night mode button after restore
This commit is contained in:
Christoph (Sheogorath) Kern 2018-03-26 11:27:38 +02:00 committed by GitHub
commit 6a4350af2b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -451,6 +451,7 @@ $(document).ready(function () {
// Re-enable nightmode // Re-enable nightmode
if (store.get('nightMode') || Cookies.get('nightMode')) { if (store.get('nightMode') || Cookies.get('nightMode')) {
$body.addClass('night') $body.addClass('night')
ui.toolbar.night.addClass('active')
} }
// showup // showup