remotes/1693045480750635534/spooky-22
Aevann1 2021-09-19 14:50:22 +02:00
parent 0cf85a9b6d
commit 8d4287563e
2 changed files with 1 additions and 6 deletions

View File

@ -10,11 +10,6 @@
</div>
<div class="modal-body" id="ban-modal-body">
<div class="mb-3">
<p class="h6 text-uppercase text-xs text-muted">for posting:</p>
<span id="ban-modal-link"></span>
</div>
<form id="banModalForm">
<input type="hidden" name="formkey" value="{{v.formkey}}" />

View File

@ -450,7 +450,7 @@
const banModal = function(link, id, name) {
document.getElementById("banModalTitle").innerHTML = `Ban @${name}`;
document.getElementById("ban-modal-link").innerHTML = `<a href="${link}">${link}</a>`;
document.getElementById("reason").innerHTML = link;
document.getElementById("banUserButton").innerHTML = `Ban @${name}`;
document.getElementById("banUserButton").onclick = function() {