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

Selector rather than a classname #1858

Closed
wants to merge 1 commit into from
Closed

Selector rather than a classname #1858

wants to merge 1 commit into from

Conversation

NayanKhedkar
Copy link
Member

No description provided.

@@ -70,7 +70,7 @@ define([
if (model.get("_isComplete")) continue;
}

if (!className || $("html").is(className)) {
if (!className || $("html").is('.' + className)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know the previous implementation was incorrect but this could be made backwards compatible if we did something along the lines of:

var $html = $("html");

if (!className || $html.is(className) || $html.hasClass(className)) {

@NayanKhedkar NayanKhedkar deleted the issue/1843 branch November 9, 2017 09:14
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

Successfully merging this pull request may close these issues.

2 participants