aboutsummaryrefslogtreecommitdiff
path: root/viewer/src
diff options
context:
space:
mode:
authorzeroinformatique2021-07-02 18:08:13 +0200
committerGitHub2021-07-02 18:08:13 +0200
commit08ac32103fb5f8cca1861267dfd07a7c0d2faf62 (patch)
tree6e70da08a58890eac806d98a127551e9f67994a9 /viewer/src
parent1cf6dd4243a72935d382d62bb2a79ff13186e70d (diff)
parent90b0994ea7be0052fc6d868c98e1de8c835f2ba1 (diff)
downloadldgallery-08ac32103fb5f8cca1861267dfd07a7c0d2faf62.tar.gz
Merge pull request #299 from ldgallery/oz-yarn
viewer: compilation chain upgrade
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 }