Fix for ie11

This commit is contained in:
Oleg Korshul
2020-09-06 23:42:17 +03:00
parent c17a2f48a2
commit 6baac76b58

View File

@ -39,7 +39,7 @@
window.Asc.plugin.ie_channel = null;
window.Asc.plugin.ie_channel_check = function(e) {
var uagent = navigator.userAgent.toLowerCase();
if (uagent.indexOf("msie") > -1 && uagent.indexOf("trident") > -1)
if (uagent.indexOf("msie") > -1 || uagent.indexOf("trident") > -1)
{
if (e.ports && e.ports[0])
this.ie_channel = e.ports[0];