1
0
Fork 0
forked from mirror/pixelfed

Update PostComponent.vue, remove like count from title, fixes #2091

This commit is contained in:
Daniel Supernault 2020-03-24 22:16:51 -06:00
parent 1999f00d4a
commit 6026998c1d
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7
2 changed files with 1 additions and 3 deletions

View file

@ -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');
});

View file

@ -1,4 +1,4 @@
@extends('layouts.app',['title' => "A post by " . $user->username])
@extends('layouts.app',['title' => "{$user->username} shared a photo"])
@section('content')
<noscript>
@ -25,7 +25,6 @@
@push('scripts')
<script type="text/javascript" src="{{ mix('js/status.js') }}"></script>
<script type="text/javascript" src="{{ mix('js/compose.js') }}"></script>
<script type="text/javascript">
$(document).ready(function() {
new Vue({