Closed manuq closed 11 years ago
Replace those functions with the html5 classList API. There are add, remove, toggle and contains methods.
http://davidwalsh.name/classlist https://developer.mozilla.org/en-US/docs/Web/API/element.classList
Replace those functions with the html5 classList API. There are add, remove, toggle and contains methods.
http://davidwalsh.name/classlist https://developer.mozilla.org/en-US/docs/Web/API/element.classList