Bug Tracker

Modify

Ticket #12027 (closed enhancement: duplicate)

Opened 11 months ago

Last modified 11 months ago

Uses classList in Chrome/Firefox for className management

Reported by: david71rj Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.8b1
Keywords: Cc:
Blocking: Blocked by:

Description

Uses el.classList DOMTokenList to handler attr(class) that support it. Basically:

el.classList.toggle("test") does the samething that $(el).toggleClass("test").

Change History

comment:1 Changed 11 months ago by dmethvin

  • Status changed from new to closed
  • Resolution set to duplicate

comment:2 Changed 11 months ago by dmethvin

Duplicate of #5087.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.