From bd735137bc02c2ee0795e63de6d49c884f098222 Mon Sep 17 00:00:00 2001 From: Outpox Date: Mon, 12 Mar 2018 19:34:11 +0100 Subject: [PATCH] feat: prevent dismissing the tour using the keyboard --- src/components/VTour.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/VTour.vue b/src/components/VTour.vue index 3f2fd9f..8d390f1 100644 --- a/src/components/VTour.vue +++ b/src/components/VTour.vue @@ -119,7 +119,7 @@ export default { if (this.currentStep > this.minStep && !this.isFinished) this.currentStep-- }, nextStep () { - if (this.currentStep < this.maxStep && !this.isFinished) this.currentStep++ + if (this.currentStep < this.maxStep -1 && !this.isFinished) this.currentStep++ }, stop () { this.currentStep = -1