This commit is contained in:
Aevann1 2021-12-01 14:42:29 +02:00
parent fef7aad2cd
commit a222de7d4f

View file

@ -1,6 +1,5 @@
<script> <script>
window.addEventListener("load",function(event) {
const banModal = function(link, id, name) { const banModal = function(link, id, name) {
document.getElementById("banModalTitle").innerHTML = `Ban @${name}`; document.getElementById("banModalTitle").innerHTML = `Ban @${name}`;
document.getElementById("ban-modal-link").value = link; document.getElementById("ban-modal-link").value = link;
@ -23,8 +22,6 @@
xhr.send(fd); xhr.send(fd);
} }
}; };
});
</script> </script>
<div class="modal fade" id="banModal" tabindex="-1" role="dialog" aria-labelledby="banModalTitle" aria-hidden="true"> <div class="modal fade" id="banModal" tabindex="-1" role="dialog" aria-labelledby="banModalTitle" aria-hidden="true">