1
0
Fork 0
mirror of https://github.com/Alamantus/Lexiconga.git synced 2025-05-23 10:30:05 +02:00

Fix updateCurrentChangeDictionaryOption() selector

This commit is contained in:
Robbie Antenesse 2019-05-28 00:17:23 -06:00
parent 6154510af6
commit 4ad86e31fa

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) {