mirror of https://github.com/pixelfed/pixelfed.git
Update PostComponent.vue, remove like count from title, fixes #2091
This commit is contained in:
parent
1999f00d4a
commit
6026998c1d
|
@ -711,7 +711,6 @@ export default {
|
||||||
this.fetchComments();
|
this.fetchComments();
|
||||||
}
|
}
|
||||||
this.loaded = true;
|
this.loaded = true;
|
||||||
$('head title').text(this.status.account.username + ' posted a photo: ' + this.status.favourites_count + ' likes');
|
|
||||||
}).catch(error => {
|
}).catch(error => {
|
||||||
swal('Oops!', 'An error occured, please try refreshing the page.', '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')
|
@section('content')
|
||||||
<noscript>
|
<noscript>
|
||||||
|
@ -25,7 +25,6 @@
|
||||||
|
|
||||||
@push('scripts')
|
@push('scripts')
|
||||||
<script type="text/javascript" src="{{ mix('js/status.js') }}"></script>
|
<script type="text/javascript" src="{{ mix('js/status.js') }}"></script>
|
||||||
<script type="text/javascript" src="{{ mix('js/compose.js') }}"></script>
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
new Vue({
|
new Vue({
|
||||||
|
|
Loading…
Reference in New Issue