mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-04-07 14:06:16 +08:00
[themes] fix for default theme
This commit is contained in:
@ -161,11 +161,11 @@ window.Common = {
|
||||
|
||||
if ( !window.uitheme.id && !!params.uitheme ) {
|
||||
if ( params.uitheme == 'default-dark' ) {
|
||||
window.uitheme.id = 'theme-dark';
|
||||
window.uitheme.id = window.uitheme.DEFAULT_DARK_THEME_ID;
|
||||
window.uitheme.type = 'dark';
|
||||
} else
|
||||
if ( params.uitheme == 'default-light' ) {
|
||||
window.uitheme.id = 'theme-classic-light';
|
||||
window.uitheme.id = window.uitheme.DEFAULT_LIGHT_THEME_ID;
|
||||
window.uitheme.type = 'light';
|
||||
} else
|
||||
if ( params.uitheme == 'theme-system' ) {
|
||||
|
||||
Reference in New Issue
Block a user