diff options
author | Zero~Informatique | 2020-02-24 23:24:07 +0100 |
---|---|---|
committer | Zero~Informatique | 2020-02-24 23:24:07 +0100 |
commit | 0905e3c293ceb0f1d769513870c3931530d6331d (patch) | |
tree | 9ad3b381e6c2078c6c2d9d6ddcedb728684dd628 /viewer/src/views | |
parent | 2a458e25c0510798120dddbd85cef5ee440c2a2a (diff) | |
download | ldgallery-0905e3c293ceb0f1d769513870c3931530d6331d.tar.gz |
viewer: disable the back command to prevent exiting the gallery
GitHub: Resolves #91
Diffstat (limited to 'viewer/src/views')
-rw-r--r-- | viewer/src/views/MainLayout.vue | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/viewer/src/views/MainLayout.vue b/viewer/src/views/MainLayout.vue index 272c045..2d74db9 100644 --- a/viewer/src/views/MainLayout.vue +++ b/viewer/src/views/MainLayout.vue | |||
@@ -43,6 +43,7 @@ export default class MainLayout extends Vue { | |||
43 | scrollPositions: ScrollPosition = {}; | 43 | scrollPositions: ScrollPosition = {}; |
44 | 44 | ||
45 | mounted() { | 45 | mounted() { |
46 | history.replaceState({ ldgallery: "ENTRYPOINT" }, ""); | ||
46 | this.fetchGalleryItems(); | 47 | this.fetchGalleryItems(); |
47 | } | 48 | } |
48 | 49 | ||