Keep darkmode state in serverside session too. Fix darkmode state in egroupware iframes.

This commit is contained in:
Hadi Nategh
2021-02-24 12:22:27 +01:00
parent 924650827c
commit 2a2f0bf390
11 changed files with 43 additions and 10 deletions

View File

@ -206,8 +206,6 @@ export abstract class EgwApp
if (this.egw && this.egw.is_popup())
{
this._set_Window_title();
// apply theme mode
jQuery('html').attr('data-darkmode', egw.getSessionItem('api', 'darkmode') == '0'?'0':'1');
}
// Highlights the favorite based on initial list state