forked from rDrama/rDrama
Report post -> Report Post
parent
7bada8f70e
commit
0847699e54
|
@ -14,7 +14,7 @@ reason_post.addEventListener('keydown', (e) => {
|
||||||
function report_postModal(id) {
|
function report_postModal(id) {
|
||||||
reportPostButton.disabled = false;
|
reportPostButton.disabled = false;
|
||||||
reportPostButton.classList.remove('disabled');
|
reportPostButton.classList.remove('disabled');
|
||||||
reportPostButton.innerHTML='Report post';
|
reportPostButton.innerHTML='Report Post';
|
||||||
reportPostButton.dataset.id = id
|
reportPostButton.dataset.id = id
|
||||||
|
|
||||||
reason_post.value = ""
|
reason_post.value = ""
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<div class="modal-dialog modal-dialog-centered">
|
<div class="modal-dialog modal-dialog-centered">
|
||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
<h5 class="modal-title">Report post</h5>
|
<h5 class="modal-title">Report Post</h5>
|
||||||
<button type="button" class="close" data-bs-dismiss="modal">
|
<button type="button" class="close" data-bs-dismiss="modal">
|
||||||
<span><i class="fas fa-times"></i></span>
|
<span><i class="fas fa-times"></i></span>
|
||||||
</button>
|
</button>
|
||||||
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="button" class="btn btn-link text-muted" data-bs-dismiss="modal">Cancel</button>
|
<button type="button" class="btn btn-link text-muted" data-bs-dismiss="modal">Cancel</button>
|
||||||
<button type="button" id="reportPostButton" class="btn btn-primary btn-danger" data-bs-dismiss="modal">Report post</button>
|
<button type="button" id="reportPostButton" class="btn btn-primary btn-danger" data-bs-dismiss="modal">Report Post</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue