Skip to content

Commit

Permalink
feat: prevent dismissing the tour using the keyboard
Browse files Browse the repository at this point in the history
  • Loading branch information
Outpox committed Mar 12, 2018
1 parent b70c371 commit bd73513
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/VTour.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bd73513

Please sign in to comment.