diff --git a/resources/assets/js/components/PostComments.vue b/resources/assets/js/components/PostComments.vue index 7b62c54f5..252bf1eb8 100644 --- a/resources/assets/js/components/PostComments.vue +++ b/resources/assets/js/components/PostComments.vue @@ -18,22 +18,24 @@
-

- - {{l(comment.account.username)}} - +

+ + + {{l(comment.account.username)}} + + + + + Reply + Permalink + Embed + Profile + + Report + - - - Reply - Permalink - Embed - Profile - - Report -

@@ -55,6 +57,9 @@ export default { mounted() { this.fetchData(); }, + updated() { + pixelfed.readmore(); + }, methods: { embed(e) { pixelfed.embed.build(e); @@ -111,7 +116,6 @@ export default { $('.load-more-link').addClass('d-none'); return; } - $('.postCommentsContainer').addClass('d-none'); $('.postCommentsLoader').removeClass('d-none'); let next = this.pagination.links.next; axios.get(next) @@ -122,7 +126,6 @@ export default { for(let i=0; i < res.length; i++) { this.results.unshift(res[i]); } - $('.postCommentsContainer').removeClass('d-none'); this.pagination = response.data.meta.pagination; }); }