We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d18289b + 678aec9 commit cd66ecfCopy full SHA for cd66ecf
1 file changed
src/display/annotation_storage.js
@@ -226,10 +226,12 @@ class AnnotationStorage {
226
let numberOfDeletedComments = 0;
227
for (const value of this.#storage.values()) {
228
if (!(value instanceof AnnotationEditor)) {
229
- if (value.popup.deleted) {
230
- numberOfDeletedComments += 1;
231
- } else if (value.popup) {
232
- numberOfEditedComments += 1;
+ if (value.popup) {
+ if (value.popup.deleted) {
+ numberOfDeletedComments += 1;
+ } else {
233
+ numberOfEditedComments += 1;
234
+ }
235
}
236
continue;
237
0 commit comments