mirror of https://github.com/pixelfed/pixelfed.git
Update components.js
This commit is contained in:
parent
a9072b3ad7
commit
7d56d27f94
|
@ -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 New Issue