Skip to content

Add classList polyfill for IE classList.toggle('foo', force)

Eric Eastwood requested to merge 38916-add-classlist-polyfill into master

What does this MR do?

EE MR, https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/3527

  • Add classList polyfill for IE, classList.toggle('foo', force)

Are there points in the code the reviewer needs to double check?

Requirements

Options

Also see https://github.com/Modernizr/Modernizr/wiki/HTML5-Cross-Browser-Polyfills#classlist

Why was this MR needed?

IE 11 does not support force parameter in classList.toggle('foo', force).

We have existing code that just doesn't work correctly and future code,

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #38916 (closed)

Edited by Eric Eastwood

Merge request reports