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

Conflict .className and .classList #1604

Closed
wants to merge 1 commit into from
Closed

Conversation

cubegm
Copy link
Contributor

@cubegm cubegm commented Aug 19, 2012

If someone uses "classList.remove" method (see https://developer.mozilla.org/en-US/docs/DOM/element.classList) to remove a class from the Addon Manager's element, the Greasemonkey will not be able delete "greasemonkey" class, because "classList.remove" method deletes leading spaces from "className" property

If someone uses "classList.remove" method (see https://developer.mozilla.org/en-US/docs/DOM/element.classList) to remove a class from the Addon Manager's <page> element, the Greasemonkey will not be able delete "greasemonkey" class, because "classList.remove" method deletes leading spaces from "className" property
@arantius
Copy link
Collaborator

#1605 sounds like a better fix.

@arantius arantius closed this Aug 19, 2012
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.

None yet

2 participants