Don't show suggest if message changed

This commit is contained in:
Ian Gulliver
2024-11-25 22:02:51 -06:00
parent 826f6d04fc
commit 89737edbd6

View File

@@ -143,6 +143,10 @@ async function suggestNow() {
return; return;
} }
if (document.getElementById('message').value != m) {
return;
}
document.getElementById('suggest-msg').innerText = await resp.text(); document.getElementById('suggest-msg').innerText = await resp.text();
document.getElementById('suggest').show(); document.getElementById('suggest').show();
} }