Fix regression that prevents showing new notes in contextPane notes list
This commit is contained in:
parent
1955427d62
commit
b02ad0dc83
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@ var ZoteroContextPane = new function () {
|
|||
}
|
||||
else {
|
||||
let libraryID = _notesPaneDeck.selectedPanel.getAttribute('data-library-id');
|
||||
_notesPaneDeck.selectedPanel.setAttribute('selectedIndex', _globalDeckIndex[libraryID]);
|
||||
_notesPaneDeck.selectedPanel.setAttribute('selectedIndex', _globalDeckIndex[libraryID] || 0);
|
||||
}
|
||||
})();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue