Don't auto-focus if word form isn't unlocked (it's annoying on mobile)

This commit is contained in:
Robbie Antenesse 2016-03-18 10:12:06 -06:00
parent 36150e4c76
commit bdf9327fa3
2 changed files with 4 additions and 2 deletions

View File

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