[desktop] for bug 54387

This commit is contained in:
Maxim Kadushkin 2021-12-06 19:16:13 +03:00
parent a3c56ba8fb
commit 4205a29bc3

View file

@ -1872,6 +1872,9 @@ define([
Common.Gateway.on('opendocument', function () {
api = DE.getController('ApplicationController').api;
var is_win_xp = window.RendererProcessVariable && window.RendererProcessVariable.os === 'winxp';
Common.UI.Themes.setAvailable(!is_win_xp);
});
return {