[themes] fix for default theme

This commit is contained in:
maxkadushkin
2025-06-19 22:18:21 +03:00
parent 004fc18abe
commit acebcb6187

View File

@ -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' ) {