mirror of
https://github.com/zotero/zotero.git
synced 2026-09-10 22:41:08 +00:00
Don't show underline or text annotations in Zotero 6
This commit is contained in:
parent
9e4986abf5
commit
16ea4da9b2
1 changed files with 3 additions and 1 deletions
|
|
@ -3964,7 +3964,9 @@ Zotero.Item.prototype.getAnnotations = function (includeTrashed) {
|
|||
}
|
||||
var ids = rows.map(row => row.itemID);
|
||||
this._annotations[cacheKey] = ids;
|
||||
return Zotero.Items.get(ids);
|
||||
return Zotero.Items.get(ids)
|
||||
// Filter out underline and text annotations in Zotero 6
|
||||
.filter(x => !['underline', 'text'].includes(x.annotationType));
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue