mirror of
https://github.com/zotero/zotero.git
synced 2026-11-10 08:47:19 +00:00
comment tweak
This commit is contained in:
parent
2cf29e5cc4
commit
93a6e8e207
1 changed files with 1 additions and 1 deletions
|
|
@ -360,7 +360,7 @@ class ReaderInstance {
|
|||
await Zotero.DB.executeTransaction(async () => {
|
||||
for (let key of keys) {
|
||||
let annotation = Zotero.Items.getByLibraryAndKey(libraryID, key);
|
||||
// Make sure the annotation actually belongs to the current PDF
|
||||
// Make sure the annotation actually belongs to the current attachment
|
||||
if (annotation && annotation.isAnnotation() && annotation.parentID === this._item.id) {
|
||||
this.annotationItemIDs = this.annotationItemIDs.filter(id => id !== annotation.id);
|
||||
annotation.deleted = true;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue