dfs
This commit is contained in:
parent
c98c829cd1
commit
41ca92401d
2 changed files with 1 additions and 6 deletions
|
@ -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}}" />
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue