Update Themes.js

This commit is contained in:
maxkadushkin 2021-12-04 00:10:35 +03:00 committed by GitHub
parent 2013d31d11
commit 836c8997cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -256,7 +256,7 @@ define([
$(window).on('storage', function (e) {
if ( e.key == 'ui-theme' || e.key == 'ui-theme-id' ) {
if ( !!e.originalEvent.newValue ) {
me.setTheme(t.originalEvent.newValue, true);
me.setTheme(e.originalEvent.newValue, true);
}
} else
if ( e.key == 'content-theme' ) {