< IE 11 and some older browsers support classList methods but don't support the .toggle() second boolean argument, resulting in erroneous behavior.
Maybe we could add a legacy alternative?
cc @jacwright
Use the Polyfill, Luke ;)
The polyfill does actually fill in the missing functionality with the second argument https://github.com/yola/classlist-polyfill/blob/master/src/index.js#L222
I know the polyfill solves this issue. I'm just bringing this here to see if it's something that the legacy flag should support 馃榿
This was addressed in 2.15.4 via #1868, closing.
Most helpful comment
I know the polyfill solves this issue. I'm just bringing this here to see if it's something that the
legacyflag should support 馃榿