1
0
Fork 0
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:
Robbie Antenesse 2016-03-11 08:14:13 -07:00
parent 06f5fe58c4
commit edadb37a6b

View file

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