From 8009ff0570fabe3af08a8c67c41cb337f93d9e65 Mon Sep 17 00:00:00 2001 From: SeerLite Date: Fri, 1 Oct 2021 22:11:16 -0300 Subject: [PATCH] fix previous commit --- src/js/input-controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }