Skip to content

issue with dehighlightElement #114

Description

@jtorbicki

I've found a small bug in a hideAll function. Instead of this code:

line 484:

if (currentGuider && currentGuider.highlight) {
    guiders._dehighlightElement(currentGuider.highlight);
}

It should probably be something like this:

if (currentGuider && currentGuider.highlight && currentGuider.attachTo) {
    guiders._dehighlightElement(currentGuider.attachTo);
}

Otherwise this code:

guiders._dehighlightElement = function(selector) {
$(selector).removeClass('guiders_highlight');
};

Tries to remove the class from the "true" value.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions