diff --git a/src/js/input-controller.js b/src/js/input-controller.js index 3e4add6c8..84a6b3629 100644 --- a/src/js/input-controller.js +++ b/src/js/input-controller.js @@ -32,7 +32,7 @@ function setWordsInput(value) { // Only change #wordsInput if it's not already the wanted value // Avoids Safari triggering unneeded events, causing issues with // dead keys. - if (value !== $("#wordsInput")) { + if (value !== $("#wordsInput").val()) { $("#wordsInput").val(value); } }