f
This commit is contained in:
parent
412d29824f
commit
3a9a629fbe
47 changed files with 119 additions and 116 deletions
|
@ -12,7 +12,7 @@ function banModal(link, id, name) {
|
|||
xhr.setRequestHeader('xhr', 'xhr');
|
||||
|
||||
xhr.onload = function(){
|
||||
var myToast = new bootstrap.Toast(document.getElementById('toast-post-success'));
|
||||
var myToast = bootstrap.Toast.getOrCreateInstance(document.getElementById('toast-post-success'));
|
||||
myToast.show();
|
||||
document.getElementById('toast-post-success-text').innerHTML = `@${name} banned`;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue