This change checks that the parentNode is not null before trying to call removeChild on it. This fixes #296 where someone may call endTour but startTour was not called yet.
if (el && el.parentNode)
I also had to update the grunt-rollup npm package to the latest in order to build the project.
This change checks that the
parentNode
is not null before trying to callremoveChild
on it. This fixes #296 where someone may callendTour
butstartTour
was not called yet.I also had to update the
grunt-rollup
npm package to the latest in order to build the project.