Refactor #1259, add double tap to like and deprecate lightbox
This commit is contained in:
parent
8dbe44d9fc
commit
2b0aaeb7c1
9 changed files with 83 additions and 244 deletions
10
resources/assets/js/components.js
vendored
10
resources/assets/js/components.js
vendored
|
@ -3,7 +3,6 @@ import BootstrapVue from 'bootstrap-vue'
|
|||
import InfiniteLoading from 'vue-infinite-loading';
|
||||
import Loading from 'vue-loading-overlay';
|
||||
import VueTimeago from 'vue-timeago';
|
||||
import VueTouch from 'vue-touch';
|
||||
//import {Howl, Howler} from 'howler';
|
||||
|
||||
Vue.use(BootstrapVue);
|
||||
|
@ -12,14 +11,7 @@ Vue.use(Loading);
|
|||
Vue.use(VueTimeago, {
|
||||
name: 'Timeago',
|
||||
locale: 'en'
|
||||
);
|
||||
|
||||
Vue.use(VueTouch, { name: 'v-touch' })
|
||||
VueTouch.registerCustomEvent('doubletap', {
|
||||
type: 'tap',
|
||||
taps: 2
|
||||
})
|
||||
|
||||
});
|
||||
|
||||
pixelfed.readmore = () => {
|
||||
$('.read-more').each(function(k,v) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue