forked from MarseyWorld/MarseyWorld
remove filename when commenting
parent
ad3ca4eb12
commit
c8ea663833
|
@ -191,6 +191,7 @@ function comment_edit(id){
|
|||
commentForm.innerHTML = data["comment"].replace(/data-src/g, 'src').replace(/data-cfsrc/g, 'src').replace(/style="display:none;visibility:hidden;"/g, '')
|
||||
document.getElementById('cancel-edit-'+id).click()
|
||||
bs_trigger(commentForm);
|
||||
document.getElementById('filename-show-reply-t2_' + id).innerHTML = '<i class="fas fa-file"></i>';
|
||||
}
|
||||
else {
|
||||
if (data && data["error"]) document.getElementById('toast-post-error-text').innerText = data["error"];
|
||||
|
@ -250,6 +251,7 @@ function post_comment(fullname, hide){
|
|||
|
||||
document.getElementById('reply-form-body-'+fullname).value = ''
|
||||
document.getElementById('form-preview-'+fullname).innerHTML = ''
|
||||
document.getElementById('filename-show-reply-' + fullname).innerHTML = '<i class="fas fa-file"></i>';
|
||||
}
|
||||
else {
|
||||
if (data && data["error"]) document.getElementById('toast-post-error-text').innerText = data["error"];
|
||||
|
|
|
@ -864,7 +864,7 @@
|
|||
|
||||
{% if v %}
|
||||
<script src="{{asset('js/marked.js')}}"></script>
|
||||
<script src="/assets/js/comments_v.js?v=287"></script>
|
||||
<script src="/assets/js/comments_v.js?v=288"></script>
|
||||
{% endif %}
|
||||
|
||||
<script src="/assets/js/clipboard.js?v=250"></script>
|
||||
|
|
Loading…
Reference in New Issue