fds
This commit is contained in:
parent
3121d55f0a
commit
4ac0f62812
1 changed files with 3 additions and 2 deletions
|
@ -14,8 +14,9 @@
|
|||
xhr.withCredentials = true;
|
||||
|
||||
xhr.onload = function(){
|
||||
document.getElementById('toast-post-success').toast('dispose');
|
||||
document.getElementById('toast-post-success').toast('show');
|
||||
var myToast = new bootstrap.Toast(document.getElementById('toast-post-success'));
|
||||
myToast.hide();
|
||||
myToast.show();
|
||||
document.getElementById('toast-post-success-text').innerHTML = `@${name} banned`;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue