mirror of
https://github.com/Alamantus/Lexiconga.git
synced 2025-04-10 21:50:32 +02:00
Fixed focus after word update.
This commit is contained in:
parent
06f5fe58c4
commit
edadb37a6b
1 changed files with 3 additions and 1 deletions
|
@ -132,10 +132,12 @@ function UpdateWord(wordIndex, word, pronunciation, partOfSpeech, simpleDefiniti
|
|||
currentDictionary.words[wordIndex].partOfSpeech = partOfSpeech;
|
||||
currentDictionary.words[wordIndex].simpleDefinition = simpleDefinition;
|
||||
currentDictionary.words[wordIndex].longDefinition = longDefinition;
|
||||
|
||||
|
||||
SaveAndUpdateDictionary();
|
||||
|
||||
window.scroll(savedScroll.x, savedScroll.y);
|
||||
|
||||
FocusAfterAddingNewWord();
|
||||
}
|
||||
|
||||
function DeleteWord(index) {
|
||||
|
|
Loading…
Add table
Reference in a new issue