mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-24 23:58:54 +01:00
Only apply darkmode preference on top level window for initiation because the rest is supposed to get set from client-side state
This commit is contained in:
parent
5e73271df4
commit
e98a8b372e
@ -534,7 +534,7 @@ abstract class Framework extends Framework\Extra
|
||||
'dir_code' => lang('language_direction_rtl') != 'rtl' ? '' : ' dir="rtl"',
|
||||
'include_wz_tooltip'=> $include_wz_tooltip,
|
||||
'webserver_url' => $GLOBALS['egw_info']['server']['webserver_url'],
|
||||
'darkmode' => $GLOBALS['egw_info']['user']['preferences']['common']['darkmode']
|
||||
'darkmode' => $this->isTop()? $GLOBALS['egw_info']['user']['preferences']['common']['darkmode'] : ''
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user