mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-05 05:17:51 +08:00
fix previous commit
This commit is contained in:
parent
5d52e41932
commit
8009ff0570
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue