Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue with dehighlightElement #114

Open
jtorbicki opened this issue Feb 5, 2014 · 0 comments
Open

issue with dehighlightElement #114

jtorbicki opened this issue Feb 5, 2014 · 0 comments

Comments

@jtorbicki
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant