shepherd
shepherd copied to clipboard
Uncaught TypeError: Cannot read property 'classList' of null
I get this error when trying tour.start(), can't figure out what the issue is...has anybody else see this?
tour = new Shepherd.Tour
defaults:
classes: 'shepherd-theme-arrows'
scrollTo: true
tour.addStep 'sample',
text: 'Sample Text'
attachTo: '#main-nav bottom'
classes: 'example-step-extra-class'
buttons: [
text: 'Next'
action: tour.next
]
tour.start()
Put your both script at the end of body tag.
@pwgustafson I think your issue is related to drop.js. See this pull request :)
Mind providing a jsFiddle of this issue?