fds
This commit is contained in:
parent
7b5d09bf59
commit
e65a873c8b
2 changed files with 3 additions and 3 deletions
|
@ -14,8 +14,8 @@
|
|||
|
||||
<input type="hidden" name="formkey" value="{{v.formkey}}" />
|
||||
|
||||
<label for="reason">Public ban reason (optional)</label>
|
||||
<textarea name="reason" form="banModalForm" class="form-control" id="reason" aria-label="With textarea" placeholder="Enter reason"></textarea>
|
||||
<label for="ban-modal-link">Public ban reason (optional)</label>
|
||||
<textarea name="reason" form="banModalForm" class="form-control" id="ban-modal-link" aria-label="With textarea" placeholder="Enter reason"></textarea>
|
||||
|
||||
<label for="days" class="mt-3">Duration days</label>
|
||||
<input type="number" name="days" id="days" class="form-control" placeholder="leave blank for permanent" />
|
||||
|
|
|
@ -450,7 +450,7 @@
|
|||
|
||||
const banModal = function(link, id, name) {
|
||||
document.getElementById("banModalTitle").innerHTML = `Ban @${name}`;
|
||||
document.getElementById("reason").value = link;
|
||||
document.getElementById("ban-modal-link").value = link;
|
||||
document.getElementById("banUserButton").innerHTML = `Ban @${name}`;
|
||||
|
||||
document.getElementById("banUserButton").onclick = function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue