Don't auto-focus if word form isn't unlocked (it's annoying on mobile)
This commit is contained in:
parent
36150e4c76
commit
bdf9327fa3
|
@ -137,7 +137,9 @@ function UpdateWord(wordIndex, word, pronunciation, partOfSpeech, simpleDefiniti
|
|||
|
||||
window.scroll(savedScroll.x, savedScroll.y);
|
||||
|
||||
FocusAfterAddingNewWord();
|
||||
if (!wordFormIsLocked()) {
|
||||
FocusAfterAddingNewWord();
|
||||
}
|
||||
}
|
||||
|
||||
function DeleteWord(index) {
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue