diff --git a/resources/assets/js/components/PostComponent.vue b/resources/assets/js/components/PostComponent.vue index bcb820588..52969d83a 100644 --- a/resources/assets/js/components/PostComponent.vue +++ b/resources/assets/js/components/PostComponent.vue @@ -711,7 +711,6 @@ export default { this.fetchComments(); } this.loaded = true; - $('head title').text(this.status.account.username + ' posted a photo: ' + this.status.favourites_count + ' likes'); }).catch(error => { swal('Oops!', 'An error occured, please try refreshing the page.', 'error'); }); diff --git a/resources/views/status/show.blade.php b/resources/views/status/show.blade.php index 73bf82309..facc0ba88 100644 --- a/resources/views/status/show.blade.php +++ b/resources/views/status/show.blade.php @@ -1,4 +1,4 @@ -@extends('layouts.app',['title' => "A post by " . $user->username]) +@extends('layouts.app',['title' => "{$user->username} shared a photo"]) @section('content')