[desktop] fix for IE

This commit is contained in:
Maxim Kadushkin 2022-11-08 15:57:34 +03:00
parent fcd928823b
commit 90d2f75c4c

View file

@ -261,7 +261,7 @@ define([
})).render($('#box-document-title #slot-btn-dt-home'));
titlebuttons['home'] = {btn: header.btnHome};
header.btnHome.on('click', event => {
header.btnHome.on('click', function (e) {
native.execCommand('title:button', JSON.stringify({click: "home"}));
});