Side navigation
#12027 closed enhancement (duplicate)
Opened July 05, 2012 09:23PM UTC
Closed July 07, 2012 07:38PM UTC
Last modified July 07, 2012 07:38PM UTC
Uses classList in Chrome/Firefox for className management
Reported by: | david71rj | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.8b1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Uses el.classList DOMTokenList to handler attr(class) that support it. Basically:
el.classList.toggle("test") does the samething that $(el).toggleClass("test").