Fix lightbox deps
This commit is contained in:
@@ -4,14 +4,16 @@ import { Map, NavigationControl, Marker } from 'maplibre-gl';
|
||||
|
||||
import simplebar from 'simplebar-vue';
|
||||
|
||||
import Lightbox from '../scripts/lightbox.js';
|
||||
import autosize from 'autosize';
|
||||
import mousewheel from 'jquery-mousewheel';
|
||||
import waitforimages from 'jquery.waitforimages';
|
||||
import lightbox from '../scripts/lightbox.js';
|
||||
|
||||
//import SimpleBar from 'simplebar';
|
||||
|
||||
import SpotIcon from './spotIcon.vue';
|
||||
import SpotButton from './spotButton.vue';
|
||||
import ProjectPost from './projectPost.vue';
|
||||
import { registerRuntimeCompiler } from 'vue';
|
||||
|
||||
export default {
|
||||
components: {
|
||||
@@ -100,7 +102,7 @@ export default {
|
||||
this.modeHisto = (this.project.mode == this.spot.consts.modes.histo);
|
||||
},
|
||||
initLightbox() {
|
||||
Lightbox.option({
|
||||
lightbox.option({
|
||||
alwaysShowNavOnTouchDevices: true,
|
||||
albumLabel: '<i class="fa fa-fw fa-lg fa-media push"></i> %1 / %2',
|
||||
fadeDuration: 300,
|
||||
@@ -127,8 +129,6 @@ export default {
|
||||
|
||||
await this.getNextFeed();
|
||||
|
||||
console.log('going to post');
|
||||
|
||||
//Scroll to post
|
||||
if(this.$parent.hash.items.length == 3) this.findPost({type: this.$parent.hash.items[1], id: this.$parent.hash.items[2]});
|
||||
},
|
||||
|
||||
@@ -13,7 +13,6 @@ window.getOuterWidth = common.getOuterWidth;
|
||||
import Css from './../styles/spot.scss';
|
||||
import LogoText from '../images/logo_black.png';
|
||||
import Logo from '../images/spot-logo-only.svg';
|
||||
console.log(Logo);
|
||||
|
||||
//Masks
|
||||
import Spot from './spot.js';
|
||||
|
||||
Reference in New Issue
Block a user