Fix crash dragging open tag selector if closed at startup

This commit is contained in:
Dan Stillman 2020-03-28 23:50:30 -04:00
parent 97767278fb
commit c22b6ae68a

View file

@ -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);