From c9ac0c75d9273d3df86e66f2dad830146b7b1008 Mon Sep 17 00:00:00 2001 From: Zero~Informatique Date: Thu, 1 Jul 2021 20:19:47 +0200 Subject: viewer: Upgraded dependencies for Vue 2 Removed obsolete deps core-js ; resize-observer-polyfill --- viewer/src/services/ldzoom.ts | 2 -- viewer/src/store/galleryStore.ts | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'viewer/src') diff --git a/viewer/src/services/ldzoom.ts b/viewer/src/services/ldzoom.ts index 22d4699..0fb0848 100644 --- a/viewer/src/services/ldzoom.ts +++ b/viewer/src/services/ldzoom.ts @@ -17,8 +17,6 @@ -- along with this program. If not, see . */ -// polyfill still required for IE and Safari, see https://caniuse.com/#feat=resizeobserver -import ResizeObserver from "resize-observer-polyfill"; import "hammerjs"; /** diff --git a/viewer/src/store/galleryStore.ts b/viewer/src/store/galleryStore.ts index 5d599aa..6d64e12 100644 --- a/viewer/src/store/galleryStore.ts +++ b/viewer/src/store/galleryStore.ts @@ -126,7 +126,7 @@ export default class GalleryStore extends VuexModule { } private static getUrlConfig() { - let search = window.location.search; + const search = window.location.search; if (search.length > 1) return search.substr(1) + ".json"; return "config.json"; } -- cgit v1.2.3