1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-26 17:59:14 +00:00

Ignore Firefox debug errors

This commit is contained in:
Mark McDowall 2013-07-01 11:25:37 -07:00
parent 18d7963ade
commit 244d3a8a58

View file

@ -21,7 +21,14 @@
var a = document.createElement('a');
a.href = url;
var messageText = a.pathname.split('/').pop() + ' : ' + line + '</br>' + msg;
var filename = a.pathname.split('/').pop();
//Suppress Firefox debug errors when console window is closed
if (filename.toLowerCase() === 'markupview.jsm') {
return false;
}
var messageText = filename + ' : ' + line + '</br>' + msg;
var message = {
message : messageText,