mirror of https://github.com/status-im/codimd.git
Merge pull request #778 from SISheogorath/fix/nightModeToggle
Fix night mode button after restore
This commit is contained in:
commit
6a4350af2b
|
@ -451,6 +451,7 @@ $(document).ready(function () {
|
|||
// Re-enable nightmode
|
||||
if (store.get('nightMode') || Cookies.get('nightMode')) {
|
||||
$body.addClass('night')
|
||||
ui.toolbar.night.addClass('active')
|
||||
}
|
||||
|
||||
// showup
|
||||
|
|
Loading…
Reference in New Issue