Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace jQuery $().toggleClass by vanilla js classList.toggle in sap.ui.unified library #3448

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mauriciolauffer
Copy link
Contributor

Just replacing jQuery .toggleClass by vanilla js classList.toggle in sap.ui.unified library. Hopefully more people can help tackling other libraries, then other jQuery features, until we don't have jQuery in the code base anymore.

jQuery .toggleClass can be replaced by classList.toggle and it's supported by IE11, not just modern browsers.

@mauriciolauffer mauriciolauffer changed the title fix: Replace $.toggleClass by js classList.toggle Replace jQuery $().toggleClass by vanilla js classList.toggle in sap.ui.unified library Jan 31, 2022
@mauriciolauffer
Copy link
Contributor Author

sap.f - #3442
sap.tnt - #3446

@Shtilianova
Copy link
Contributor

Hello @mauriciolauffer ,
Thank you for your pull request. I've created an internal record 2280047628. The status of the issue will be updated here in GitHub.
Regards, Diana

@cla-assistant
Copy link

cla-assistant bot commented Feb 6, 2022

CLA assistant check
All committers have signed the CLA.

@mauriciolauffer mauriciolauffer force-pushed the jquery-toggleclass-sap.ui.unified branch from 590b718 to 2f45112 Compare February 6, 2022 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants