Suppress noisy "dead object" error after each click inside reader tab
This commit is contained in:
parent
a167b6932b
commit
07e4d68760
1 changed files with 4 additions and 1 deletions
|
@ -1051,7 +1051,10 @@ class ReaderTab extends ReaderInstance {
|
|||
}
|
||||
}
|
||||
catch (e) {
|
||||
Zotero.logError(e);
|
||||
// TODO: Find a better solution for this or the whole method
|
||||
if (!e.message.includes("can't access dead object")) {
|
||||
Zotero.logError(e);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue