diff options
Diffstat (limited to 'viewer/src')
-rw-r--r-- | viewer/src/services/ldzoom.ts | 2 | ||||
-rw-r--r-- | viewer/src/store/galleryStore.ts | 2 |
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 | ||
21 | import ResizeObserver from "resize-observer-polyfill"; | ||
22 | import "hammerjs"; | 20 | import "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 | } |