Skip to content

Commit

Permalink
refactor: rename startIdx to startStep
Browse files Browse the repository at this point in the history
  • Loading branch information
Outpox committed Aug 17, 2018
1 parent 112443a commit f505e00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/VTour.vue
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,11 @@ export default {
}
},
methods: {
start ({ startIdx }) {
start ({ startStep }) {
// Wait for the DOM to be loaded, then start the tour
setTimeout(() => {
this.customCallbacks.onStart()
this.currentStep = typeof startIdx !== 'undefined' ? parseInt(startIdx, 10) : 0
this.currentStep = typeof startStep !== 'undefined' ? parseInt(startStep, 10) : 0
}, this.customOptions.startTimeout)
},
previousStep () {
Expand Down

0 comments on commit f505e00

Please sign in to comment.