Don't show suggest if message changed
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user