Reduce probability of annotation comment/text being cleared while typing

Fixes #2361
This commit is contained in:
Martynas Bagdonas 2022-03-24 13:40:43 +02:00
parent 91faa73b19
commit 2f5974e1ab
2 changed files with 5 additions and 1 deletions

View file

@ -650,6 +650,10 @@ class ReaderInstance {
}
};
if (annotation.onlyTextOrComment) {
saveOptions.notifierData.autoSyncDelay = Zotero.Notes.AUTO_SYNC_DELAY;
}
// Note: annotation.image is always saved separately from the rest
// of annotation properties

@ -1 +1 @@
Subproject commit 5fac55a5f3450419a0539d8f75a30b95c2518ea3
Subproject commit 04f474c5e2eee49e2837cd4106c3630674abe30c