remotes/1693045480750635534/spooky-22
Aevann1 2021-09-26 12:24:00 +02:00
parent 27a5583217
commit 8efb3ab9af
1 changed files with 3 additions and 2 deletions

View File

@ -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`;
}