diff --git a/static/index.html b/static/index.html index 446a21d..9a7035b 100644 --- a/static/index.html +++ b/static/index.html @@ -143,6 +143,10 @@ async function suggestNow() { return; } + if (document.getElementById('message').value != m) { + return; + } + document.getElementById('suggest-msg').innerText = await resp.text(); document.getElementById('suggest').show(); }