mirror da
https://github.com/Alamantus/Lexiconga.git
sincronizzato 2025-07-12 02:15:55 +02:00
Save scroll before applying word edit so it doesn't take you to the top after editing.
Questo commit è contenuto in:
parent
d623009b63
commit
ca97409b44
1 ha cambiato i file con 34 aggiunte e 32 eliminazioni
|
@ -159,6 +159,8 @@ function EditWord(indexString) {
|
|||
}
|
||||
|
||||
function UpdateWord(wordIndex, word, pronunciation, partOfSpeech, simpleDefinition, longDefinition) {
|
||||
SaveScroll();
|
||||
|
||||
currentDictionary.words[wordIndex].name = word;
|
||||
currentDictionary.words[wordIndex].pronunciation = pronunciation;
|
||||
currentDictionary.words[wordIndex].partOfSpeech = ((partOfSpeech.length > 0) ? partOfSpeech : " ");
|
||||
|
|
Caricamento…
Add table
Crea riferimento in una nuova segnalazione