Fix merge interface doubling rows in master selector
Master choices would occasionally be doubled in the listbox. Clearing the innerHTML instead of using removeItemAt() fixes the issue.
This commit is contained in:
parent
83702678e6
commit
a9d7a08a05
1 changed files with 1 additions and 4 deletions
|
@ -89,10 +89,7 @@ var Zotero_Duplicates_Pane = new function () {
|
|||
if (alternatives) {
|
||||
// Populate menulist with Date Added values from all items
|
||||
var dateList = document.getElementById('zotero-duplicates-merge-original-date');
|
||||
|
||||
while (dateList.itemCount) {
|
||||
dateList.removeItemAt(0);
|
||||
}
|
||||
dateList.innerHTML = '';
|
||||
|
||||
var numRows = 0;
|
||||
for (let item of items) {
|
||||
|
|
Loading…
Reference in a new issue