Opened 9 years ago
Closed 9 years ago
#1920 closed enhancement (fixed)
Use 'classList' for manipulating DOM element classes
Reported by: | Nicklas Nordborg | Owned by: | Nicklas Nordborg |
---|---|---|---|
Priority: | minor | Milestone: | BASE 3.5 |
Component: | web | Version: | |
Keywords: | Cc: |
Description
The current implementation uses string manipulation which may cause issues if adding or removing classes to an element that and a classname is a substring of another classname.
See http://www.w3schools.com/jsref/prop_element_classlist.asp for more information.
Change History (2)
comment:1 Changed 9 years ago by
Owner: | changed from everyone to Nicklas Nordborg |
---|---|
Status: | new → assigned |
comment:2 Changed 9 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
(In [6723]) Fixes #1920: Use 'classList' for manipulating DOM element classes