mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-26 09:47:39 +00:00
Ignore Firefox debug errors
This commit is contained in:
parent
18d7963ade
commit
244d3a8a58
1 changed files with 8 additions and 1 deletions
|
@ -21,7 +21,14 @@
|
||||||
|
|
||||||
var a = document.createElement('a');
|
var a = document.createElement('a');
|
||||||
a.href = url;
|
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 = {
|
var message = {
|
||||||
message : messageText,
|
message : messageText,
|
||||||
|
|
Loading…
Reference in a new issue