Update Themes.js

This commit is contained in:
maxkadushkin 2021-04-26 13:36:18 +03:00 committed by GitHub
parent 66dba701d8
commit bcbaedf762
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -210,7 +210,7 @@ define([
this.api = api;
var theme_name = Common.localStorage.getItem('ui-theme');
if ( !!themes_map[theme_name] )
if ( !themes_map[theme_name] )
theme_name = id_default_light_theme;
if ( !$('body').hasClass(theme_name) ) {