From 561943994d2fa8b460998b02f13e962613d2186a Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Tue, 13 Nov 2018 12:47:43 -0700 Subject: [PATCH] Update PostComponent.vue --- resources/assets/js/components/PostComponent.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/assets/js/components/PostComponent.vue b/resources/assets/js/components/PostComponent.vue index 311398622..57ef753f5 100644 --- a/resources/assets/js/components/PostComponent.vue +++ b/resources/assets/js/components/PostComponent.vue @@ -169,7 +169,7 @@
-

+

{{statusUsername}}

@@ -336,6 +336,7 @@ export default { let media = this.media; $('.status-comment .comment-text').html(status.content); + if(container.children().length != 0) { return; } @@ -362,6 +363,7 @@ export default { $('.postPresenterLoader .lds-ring').attr('style','width:100%').addClass('pt-4 font-weight-bold text-muted').text('An error occured, cannot fetch media. Please try again later.'); return; } + pixelfed.readmore(); $('.postPresenterLoader').addClass('d-none'); $('.postPresenterContainer').removeClass('d-none'); },