usablica / intro.js

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

fix: behavior of unassigned 'intro' property in json #1950

Closed oferze closed 1 year ago

oferze commented 1 year ago

Currently, one has to set the intro property in the steps json. Changed it to behave like title, that is, it's not compulsory. A step could have a title only.

Without this change, a step would contain "undefined":

image

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
intro-js ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 6, 2023 9:22am
binrysearch commented 1 year ago

This is now fixed in master. Thanks @oferze