nickytonline/comment subscription fix (#8768)
This commit is contained in:
parent
3ba1692eab
commit
e117c7b766
2 changed files with 5 additions and 2 deletions
|
|
@ -48,7 +48,6 @@ const userDataIntervalID = setInterval(async () => {
|
|||
onUnsubscribe={subscriptionRequestHandler}
|
||||
/>,
|
||||
root,
|
||||
root.firstElementChild,
|
||||
);
|
||||
} catch (e) {
|
||||
document.querySelector('#comment-subscription').innerHTML =
|
||||
|
|
|
|||
|
|
@ -3,7 +3,11 @@
|
|||
<% if @article.show_comments %>
|
||||
<header class="relative flex justify-between items-center">
|
||||
<h3 class="fs-2xl fw-bold">Discussion</h3>
|
||||
<div id="comment-subscription"><span class="crayons-btn crayons-btn--outlined">Subscribe</span></div>
|
||||
<div id="comment-subscription">
|
||||
<div role="presentation" class="crayons-btn-group">
|
||||
<span class="crayons-btn crayons-btn--outlined">Subscribe</span>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<div
|
||||
class="comments-container"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue