[desktop] fix for IE
This commit is contained in:
parent
fcd928823b
commit
90d2f75c4c
|
@ -261,7 +261,7 @@ define([
|
||||||
})).render($('#box-document-title #slot-btn-dt-home'));
|
})).render($('#box-document-title #slot-btn-dt-home'));
|
||||||
titlebuttons['home'] = {btn: header.btnHome};
|
titlebuttons['home'] = {btn: header.btnHome};
|
||||||
|
|
||||||
header.btnHome.on('click', event => {
|
header.btnHome.on('click', function (e) {
|
||||||
native.execCommand('title:button', JSON.stringify({click: "home"}));
|
native.execCommand('title:button', JSON.stringify({click: "home"}));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue