You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, to access the class attribute of an element in Javascript, you need to use element.className instead of just element.class.
This is unintuitive and inconsistent with other attributes, and there is little reason for it because class is no longer a reserved word.
Note:
This is just to mirror issue #9379 in the HTML repo.
See it for more details and discussion.