remotes/1693045480750635534/spooky-22
Aevann1 2021-07-24 20:17:27 +02:00
parent 30e5a93f2e
commit 9a75f0332b
2 changed files with 3 additions and 4 deletions

View File

@ -261,7 +261,6 @@
document.getElementById("post-author").textContent = author;
submitbutton=document.getElementById("reportPostButton");
submitbutton.disabled=true;
reason=document.getElementById("reason").value;

View File

@ -15,11 +15,11 @@
<div class="h6">We're sorry something here is wrong.</div>
<small class="form-text text-muted">Please select a reason for flagging below.</small>
<input type="hidden" name="formkey" value="{{v.formkey}}">
<input name="reason" value="">
</div>
<textarea id="reason" rows="1"></textarea>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-link text-muted" data-dismiss="modal">Cancel</button>
<button type="button" id="reportPostButton" class="btn btn-danger" disabled>Report post</button>
<button type="button" id="reportPostButton" class="btn btn-danger">Report post</button>
</div>
</form>
</div>