mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-09 16:24:51 +00:00
Update components.js
This commit is contained in:
parent
a9072b3ad7
commit
7d56d27f94
1 changed files with 5 additions and 2 deletions
7
resources/assets/js/components.js
vendored
7
resources/assets/js/components.js
vendored
|
@ -8,9 +8,12 @@ import VueTimeago from 'vue-timeago';
|
|||
Vue.use(BootstrapVue);
|
||||
Vue.use(InfiniteLoading);
|
||||
Vue.use(Loading);
|
||||
Vue.use(VueTimeago);
|
||||
Vue.use(VueTimeago, {
|
||||
name: 'Timeago',
|
||||
locale: 'en'
|
||||
});
|
||||
|
||||
pixelfed.readmore = () => {
|
||||
pixelfed.readmore = function() {
|
||||
$('.read-more').each(function(k,v) {
|
||||
let el = $(this);
|
||||
let attr = el.attr('data-readmore');
|
||||
|
|
Loading…
Reference in a new issue