shepherd icon indicating copy to clipboard operation
shepherd copied to clipboard

Uncaught TypeError: Cannot read property 'classList' of null

Open pwgustafson opened this issue 12 years ago • 4 comments

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()

pwgustafson avatar Sep 03 '14 19:09 pwgustafson

Put your both script at the end of body tag.

dlinx avatar Sep 16 '14 09:09 dlinx

@pwgustafson I think your issue is related to drop.js. See this pull request :)

hopkinschris avatar Jan 02 '15 21:01 hopkinschris

Mind providing a jsFiddle of this issue?

geekjuice avatar Jun 22 '15 03:06 geekjuice

9 years later...adding the

Owner


Other Repo Issues