[desktop] fix bug 54653 (#1441)
This commit is contained in:
parent
ed50edff6c
commit
a6b69ea60c
|
@ -1846,7 +1846,7 @@ define([
|
||||||
|
|
||||||
window.on_native_message = function (cmd, param) {
|
window.on_native_message = function (cmd, param) {
|
||||||
if (/theme:changed/.test(cmd)) {
|
if (/theme:changed/.test(cmd)) {
|
||||||
if ( !!Common.UI.Themes.setTheme )
|
if ( Common.UI.Themes && !!Common.UI.Themes.setTheme )
|
||||||
Common.UI.Themes.setTheme(param);
|
Common.UI.Themes.setTheme(param);
|
||||||
} else
|
} else
|
||||||
if (/window:features/.test(cmd)) {
|
if (/window:features/.test(cmd)) {
|
||||||
|
|
Loading…
Reference in a new issue