diff --git a/src/components/ImageList.vue b/src/components/ImageList.vue index 954a9cd5fe351d53341cfbf120ebb5db8d1eac48..66612b2485b8a25b3cf91bf348382c0d7b213e5b 100644 --- a/src/components/ImageList.vue +++ b/src/components/ImageList.vue @@ -69,6 +69,7 @@ export default { return; } this.currentPage = pageNumber; + window.scrollTo(0, 0); this.setStateHashArray(await this.getHashArray(this.currentPage - 1)); }, async getHashArray(pageEntry) { @@ -109,4 +110,4 @@ export default { ...mapActions(["setStateHashArray"]), }, }; -</script> \ No newline at end of file +</script>