From c22b6ae68a15778d9e75584be5141fc18e429fb5 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sat, 28 Mar 2020 23:50:30 -0400 Subject: [PATCH] Fix crash dragging open tag selector if closed at startup --- chrome/content/zotero/zoteroPane.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/chrome/content/zotero/zoteroPane.js b/chrome/content/zotero/zoteroPane.js index f48b426705..145bb4a99d 100644 --- a/chrome/content/zotero/zoteroPane.js +++ b/chrome/content/zotero/zoteroPane.js @@ -1061,6 +1061,11 @@ var ZoteroPane = new function() this.handleTagSelectorResize = Zotero.Utilities.debounce(function() { if (this.tagSelectorShown()) { + // Initialize if dragging open after startup + if (!this.tagSelector) { + this.initTagSelector(); + this.setTagScope(); + } this.tagSelector.handleResize(); } }, 100);