Fix locator dropdown list

This commit is contained in:
JannisX11 2021-02-16 23:37:45 +01:00
parent 8c4e191e63
commit 049d096e4d

View File

@ -794,7 +794,9 @@ Interface.definePanels(function() {
updateLocatorSuggestionList() {
locator_suggestion_list.innerHTML = '';
Locator.all.forEach(locator => {
locator_suggestion_list.append(`<option value="${locator.name}">`);
let option = document.createElement('option');
option.value = locator.name;
locator_suggestion_list.append(option);
})
},
focusAxis(axis) {