mirror of
https://github.com/ONLYOFFICE/onlyoffice.github.io.git
synced 2026-02-10 18:05:06 +08:00
Fix for ie11
This commit is contained in:
@ -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];
|
||||
|
||||
Reference in New Issue
Block a user