Hide socket errors in Internet Explorer too

This commit is contained in:
Maximilian Grundke
2018-06-05 11:31:08 +02:00
parent f4b21796d0
commit 7053544bcb

View File

@ -552,8 +552,8 @@ configureEditors: function () {
},
showWebsocketError: function() {
if (window.navigator.userAgent.indexOf('Edge') > -1) {
// Mute errors in Microsoft Edge
if (window.navigator.userAgent.indexOf('Edge') > -1 || window.navigator.userAgent.indexOf('Trident') > -1) {
// Mute errors in Microsoft Edge and Internet Explorer
return;
}
$.flash.danger({