aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/views
diff options
context:
space:
mode:
authorOzoneGrif2020-02-25 01:40:23 +0100
committerGitHub2020-02-25 01:40:23 +0100
commit8c7d95572e8cbc62f03db11b412cb4ccd32a80ce (patch)
tree59f9c9c179907907c016492592aac87c09f81f2e /viewer/src/views
parentcfcb8c36ce71bfccdb320e003822497c2b69036f (diff)
parent0905e3c293ceb0f1d769513870c3931530d6331d (diff)
downloadldgallery-8c7d95572e8cbc62f03db11b412cb4ccd32a80ce.tar.gz
Merge pull request #148 from pacien/oz-back-command
viewer: disable the back command to prevent exiting the gallery
Diffstat (limited to 'viewer/src/views')
-rw-r--r--viewer/src/views/MainLayout.vue1
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