Add classList methods polyfill for Opera Mini

Created on 12 October 2020, over 3 years ago
Updated 19 January 2024, 5 months ago

Problem/Motivation

Some methods in Element.classList are not fully supported in Opera Mini. Having a polyfill would be helpful in our efforts to remove jquery, particularly for using the second parameter in toggle() MDN has a polyfill for this.

Steps to reproduce

Proposed resolution

Add the MDN polyfill. Use this polyfill in Quickedit and refactor the ternary statement used for adding/removing classes to use toggle() instead.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Closed: outdated

Version

11.0 πŸ”₯

Component
JavascriptΒ  β†’

Last updated 1 minute ago

Created by

πŸ‡ΊπŸ‡ΈUnited States bnjmnm Ann Arbor, MI

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024