fix previous commit

This commit is contained in:
SeerLite 2021-10-01 22:11:16 -03:00
parent 5d52e41932
commit 8009ff0570

View file

@ -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);
}
}