remove makeQuote() from reply buttons
parent
e4c7a588ca
commit
a25169cbea
|
@ -302,7 +302,7 @@
|
|||
</li>
|
||||
|
||||
{% if v %}
|
||||
<a class="list-inline-item mr-3" role="button" onclick="ToggleReplyBox('reply-to-{{c.id}}');makeQuote('reply-form-body-{{c.fullname}}')"><i class="fas fa-reply" style="margin-top:0.35rem"></i></a>
|
||||
<a class="list-inline-item mr-3" role="button" onclick="ToggleReplyBox('reply-to-{{c.id}}')"><i class="fas fa-reply" style="margin-top:0.35rem"></i></a>
|
||||
{% endif %}
|
||||
|
||||
<li class="list-inline-item">
|
||||
|
@ -399,7 +399,7 @@
|
|||
<button class="btn caction py-0 nobackground px-1 text-muted copy-link" data-clipboard-text="{% if SITE == 'rdrama.net' %}https://rdrama.org{{c.shortlink}}{% else %}{{c.permalink}}{% endif %}"><i class="fas fa-copy"></i>Copy link</button>
|
||||
|
||||
{% if v %}
|
||||
<button class="btn caction py-0 nobackground px-1 text-muted" role="button" onclick="ToggleReplyBox('reply-to-{{c.id}}');makeQuote('reply-form-body-{{c.fullname}}')"><i class="fas fa-reply" aria-hidden="true"></i>Reply</button>
|
||||
<button class="btn caction py-0 nobackground px-1 text-muted" role="button" onclick="ToggleReplyBox('reply-to-{{c.id}}')"><i class="fas fa-reply" aria-hidden="true"></i>Reply</button>
|
||||
|
||||
<button class="btn caction py-0 nobackground px-1 text-muted" data-bs-toggle="modal" data-bs-target="#reportCommentModal" onclick="report_commentModal('{{c.id}}','{{c.author_name}}',)"><i class="fas fa-flag fa-fw"></i>Report</button>
|
||||
|
||||
|
@ -561,7 +561,7 @@
|
|||
</div>
|
||||
|
||||
{% if request.path.startswith('/notifications') and c.level == 1 and c.sentto and not c.parent_submission and c.author_id != AUTOJANNY_ID %}
|
||||
<a class="btn btn-primary" role="button" onclick="ToggleReplyBox('reply-message-{{c.id}}');makeQuote('reply-form-body-{{c.fullname}}')">Reply</a>
|
||||
<a class="btn btn-primary" role="button" onclick="ToggleReplyBox('reply-message-{{c.id}}')">Reply</a>
|
||||
|
||||
{% if (v and v.admin_level >= PERMS['USER_BAN']) and (c.sentto == 2) %}
|
||||
<a class="btn btn-primary ml-3 {% if c.author.is_muted %}d-none{% endif %}" role="button" id="mute-user-{{c.id}}" onclick="adminToggleMute({{c.author_id}}, 1, {{c.id}})">Mute</a>
|
||||
|
|
Loading…
Reference in New Issue