Fixed focus after word update.
This commit is contained in:
parent
06f5fe58c4
commit
edadb37a6b
|
@ -136,6 +136,8 @@ function UpdateWord(wordIndex, word, pronunciation, partOfSpeech, simpleDefiniti
|
||||||
SaveAndUpdateDictionary();
|
SaveAndUpdateDictionary();
|
||||||
|
|
||||||
window.scroll(savedScroll.x, savedScroll.y);
|
window.scroll(savedScroll.x, savedScroll.y);
|
||||||
|
|
||||||
|
FocusAfterAddingNewWord();
|
||||||
}
|
}
|
||||||
|
|
||||||
function DeleteWord(index) {
|
function DeleteWord(index) {
|
||||||
|
|
Loading…
Reference in New Issue