Hide socket errors in Internet Explorer too
This commit is contained in:
@ -552,8 +552,8 @@ configureEditors: function () {
|
|||||||
},
|
},
|
||||||
|
|
||||||
showWebsocketError: function() {
|
showWebsocketError: function() {
|
||||||
if (window.navigator.userAgent.indexOf('Edge') > -1) {
|
if (window.navigator.userAgent.indexOf('Edge') > -1 || window.navigator.userAgent.indexOf('Trident') > -1) {
|
||||||
// Mute errors in Microsoft Edge
|
// Mute errors in Microsoft Edge and Internet Explorer
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$.flash.danger({
|
$.flash.danger({
|
||||||
|
Reference in New Issue
Block a user