Intro.js: skip and done not work

Created on 15 Mar 2018  路  9Comments  路  Source: usablica/intro.js

Description

Skip and Done not work in example index.html
intro.js-master/example/hello-world/index.html

Expected Behavior

skip tour

Actual Behavior

Uncaught TypeError: Cannot read property 'call' of undefined
at HTMLAnchorElement.skipTooltipButton.onclick (intro.js:1266)

Errors and Screenshots (optional)

Give us any additional information if you have.

Most helpful comment

After doing some debugging, it looks like the code in skipTooltipButton.onclick was not setup to check if the _introSkipCallback is defined before it tries to call() on it.

Quick fix until the code gets adjusted to check for this is to add an empty function for onskip:
.onskip(function () {});

All 9 comments

I had the same problem
Use stable version 2.7.0 and it solves

Same for me. Using 2.7.0 and the problem has disappeared.

Same for me. Using 2.7.0 and the problem has disappeared.

After doing some debugging, it looks like the code in skipTooltipButton.onclick was not setup to check if the _introSkipCallback is defined before it tries to call() on it.

Quick fix until the code gets adjusted to check for this is to add an empty function for onskip:
.onskip(function () {});

Same for me, but not before 2.9.0 - and I really want to use latest version of IntroJS due to the scrollable div improvement.

Agree to @pjuchniewicz - simply check if a function is defined as done for self._introExitCallback.

But quick fix works great :)

+1, worked on v2.8.0-alpha.1 but 2.9.0 and 2.9.1 it is broken.

Seeing this issue with 2.9.0, loaded with systemjs

Please update your versions. 2.9.0 is 3 versions old.

Ahh, the 2.9.3 release wasn't there this morn. I see it now, thanks.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cssagogo picture cssagogo  路  4Comments

hakib picture hakib  路  4Comments

alexandernst picture alexandernst  路  5Comments

mdtrooper picture mdtrooper  路  7Comments

raviteja83 picture raviteja83  路  6Comments