Mute "unknown error" messages in Edge which occur after the socket was closed successfully
This commit is contained in:
@ -552,6 +552,10 @@ configureEditors: function () {
|
|||||||
},
|
},
|
||||||
|
|
||||||
showWebsocketError: function() {
|
showWebsocketError: function() {
|
||||||
|
if (window.navigator.userAgent.indexOf('Edge') > -1) {
|
||||||
|
// Mute errors in Microsoft Edge
|
||||||
|
return;
|
||||||
|
}
|
||||||
$.flash.danger({
|
$.flash.danger({
|
||||||
text: $('#flash').data('message-failure')
|
text: $('#flash').data('message-failure')
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user