Update components.js

pull/1256/head
Daniel Supernault 6 years ago
parent a9072b3ad7
commit 7d56d27f94
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -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…
Cancel
Save