mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-09 16:24:51 +00:00
Update PostComponent.vue, remove like count from title, fixes #2091
This commit is contained in:
parent
1999f00d4a
commit
6026998c1d
2 changed files with 1 additions and 3 deletions
|
@ -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');
|
||||
});
|
||||
|
|
|
@ -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({
|
||||
|
|
Loading…
Reference in a new issue