aboutsummaryrefslogtreecommitdiff
path: root/viewer/src
diff options
context:
space:
mode:
authorZero~Informatique2021-07-01 20:19:47 +0200
committerZero~Informatique2021-07-01 20:29:15 +0200
commitc9ac0c75d9273d3df86e66f2dad830146b7b1008 (patch)
treeadd07b9ba2b0b9ae30c911054e9c2c140cc1346f /viewer/src
parent011cb4bcf271125b6d216f8def027b154954f25d (diff)
downloadldgallery-c9ac0c75d9273d3df86e66f2dad830146b7b1008.tar.gz
viewer: Upgraded dependencies for Vue 2
Removed obsolete deps core-js ; resize-observer-polyfill
Diffstat (limited to 'viewer/src')
-rw-r--r--viewer/src/services/ldzoom.ts2
-rw-r--r--viewer/src/store/galleryStore.ts2
2 files changed, 1 insertions, 3 deletions
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 @@
17-- along with this program. If not, see <https://www.gnu.org/licenses/>. 17-- along with this program. If not, see <https://www.gnu.org/licenses/>.
18*/ 18*/
19 19
20// polyfill still required for IE and Safari, see https://caniuse.com/#feat=resizeobserver
21import ResizeObserver from "resize-observer-polyfill";
22import "hammerjs"; 20import "hammerjs";
23 21
24/** 22/**
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 {
126 } 126 }
127 127
128 private static getUrlConfig() { 128 private static getUrlConfig() {
129 let search = window.location.search; 129 const search = window.location.search;
130 if (search.length > 1) return search.substr(1) + ".json"; 130 if (search.length > 1) return search.substr(1) + ".json";
131 return "config.json"; 131 return "config.json";
132 } 132 }