Fix updateCurrentChangeDictionaryOption() selector

This commit is contained in:
Robbie Antenesse 2019-05-28 00:17:23 -06:00
parent 6154510af6
commit 4ad86e31fa
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ export function changeDictionary(dictionary) {
export function updateCurrentChangeDictionaryOption() { export function updateCurrentChangeDictionaryOption() {
const label = window.currentDictionary.name + ' ' + window.currentDictionary.specification; const label = window.currentDictionary.name + ' ' + window.currentDictionary.specification;
document.getElementById('accountSettingsChangeDictionary') document.getElementById('accountSettingsChangeDictionary')
.querySelector(`option[value=${window.currentDictionary.externalID}]`).innerText = label; .querySelector(`option[value="${window.currentDictionary.externalID}"]`).innerText = label;
} }
export function deleteDictionary(deletedId) { export function deleteDictionary(deletedId) {