usablica / intro.js

Lightweight, user-friendly onboarding tour library
http://introjs.com
Other
22.8k stars 2.59k forks source link

Version 2.5.0 not working at all on Firefox #707

Closed ncmonger closed 7 years ago

ncmonger commented 7 years ago

I defined several data-steps that works in Edge and Chrome.

But on Firefox, calling introJs().start() produces a blank page with this: [object Object]

Firefox version: 53.0.2 (32-bit)

ncmonger commented 7 years ago

Found the problem: This is what I did wrong: <a href="javascript:introJS().start()" class="btn">A button</a> on Firefox this doesn't work, strangely it works just fine on Chrome and Edge.

Rather, I have to do this: <a href="javascript:;" onclick="introJS().start();" class="btn">A button</a> This works on all main browsers.