Fix crash dragging open tag selector if closed at startup
This commit is contained in:
parent
97767278fb
commit
c22b6ae68a
1 changed files with 5 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue