From 67da025e3f55498863a93036db4f525d0928077a Mon Sep 17 00:00:00 2001 From: windingwind <33902321+windingwind@users.noreply.github.com> Date: Tue, 21 Jan 2025 11:27:33 +0100 Subject: [PATCH] Fix attachments box race condition (#4997) fix: #4611 Since the attachment preview already has a task queue, don't skip render calls when rendering --- chrome/content/zotero/elements/attachmentBox.js | 1 - 1 file changed, 1 deletion(-) diff --git a/chrome/content/zotero/elements/attachmentBox.js b/chrome/content/zotero/elements/attachmentBox.js index 163754cafe..6c04806178 100644 --- a/chrome/content/zotero/elements/attachmentBox.js +++ b/chrome/content/zotero/elements/attachmentBox.js @@ -322,7 +322,6 @@ async asyncRender() { if (!this.item) return; - if (this._asyncRendering) return; if (!this._section.open) return; if (this._isAlreadyRendered("async")) { if (this._previewDiscarded) {