Problem/Motivation
Just ran into the interesting case that
$(document).trigger(
isActive ? 'drupalTourStarted' : 'drupalTourStopped',
);
is being executed before
Drupal.tour.* functions are defined.
So if you're using that event, these functions are undefined.
We need to switch the order :)
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork tour-3567257
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
anybodyComment #4
thomas.frobieterYes, it works well now!
Comment #6
smustgrave commentedComment #8
anybodyThanks @smustgrave!!