forked from rDrama/rDrama
fds
parent
27a5583217
commit
8efb3ab9af
|
@ -14,8 +14,9 @@
|
||||||
xhr.withCredentials = true;
|
xhr.withCredentials = true;
|
||||||
|
|
||||||
xhr.onload = function(){
|
xhr.onload = function(){
|
||||||
document.getElementById('toast-post-success').toast('dispose');
|
var myToast = new bootstrap.Toast(document.getElementById('toast-post-success'));
|
||||||
document.getElementById('toast-post-success').toast('show');
|
myToast.hide();
|
||||||
|
myToast.show();
|
||||||
document.getElementById('toast-post-success-text').innerHTML = `@${name} banned`;
|
document.getElementById('toast-post-success-text').innerHTML = `@${name} banned`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue