replace post_toast3 with postToastSwitch

note: on distinguish, the parameter sent to `poast_toast3` was extraneous and was never sent to the server
This commit is contained in:
justcool393 2023-07-23 09:02:07 -05:00
parent d1d43a5d86
commit 4b564b8682
2 changed files with 9 additions and 13 deletions

View file

@ -165,10 +165,6 @@ function post_toast2(t, url, button1, button2) {
postToastSwitch(t, url, "POST", button1, button2, "d-none");
}
function post_toast3(t, url, button1, button2) {
postToastSwitch(t, url, "POST", button1, button2, "d-md-inline-block");
}
function escapeHTML(unsafe) {
return unsafe.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#039;");
}