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

can not add class in IE7 #25

Open
luobotang opened this issue Aug 25, 2015 · 1 comment
Open

can not add class in IE7 #25

luobotang opened this issue Aug 25, 2015 · 1 comment

Comments

@luobotang
Copy link

http://stackoverflow.com/questions/531508/getattribute-cannot-return-class-in-ie7

So,

ClassList.prototype.array = function(){
  var className = this.el.getAttribute('class') || '';

shoude be updated to:

var className = this.el.className;
@luobotang
Copy link
Author

I make a pull request: #26

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