This project is archived and is in readonly mode.

#817 ✓wontfix
Fábio M. Costa

Use classList if available

Reported by Fábio M. Costa | December 26th, 2009 @ 03:59 AM | in 2.0 (closed)

Hey guys, theres this new property from the elements available on firefox 3.6 that we could check if it exists and use it instead of all the processing we do with className.

https://developer.mozilla.org/en/DOM/element.classList

It returns an array of classes.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

People watching this ticket

Pages