fix: back button behaviour in preview
@@ -241,11 +241,11 @@ export default {
},
prev() {
this.hoverNav = false;
- this.$router.push({ path: this.previousLink });
+ this.$router.replace({ path: this.previousLink });
},
next() {
this.hoverNav = false;
- this.$router.push({ path: this.nextLink });
+ this.$router.replace({ path: this.nextLink });
},
key(event) {
if (this.show !== null) {
