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:
parent
d1d43a5d86
commit
4b564b8682
2 changed files with 9 additions and 13 deletions
|
@ -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, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue