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

DEV: Refactor clean-dom #15609

Merged
merged 1 commit into from
Feb 1, 2022
Merged

DEV: Refactor clean-dom #15609

merged 1 commit into from
Feb 1, 2022

Conversation

CvX
Copy link
Contributor

@CvX CvX commented Jan 17, 2022

* Move it out of page-tracking initializer
* Don't use jQuery anymore
* Remove `activeElement` IE10 bug workaround
* Remove `$("html").data("hide-dropdown")` support; it dates back to the "initial" commit (https://github.com/discourse/discourse/blame/68ad545f0f275390a5c1f1e216edbb482d372a45/app/assets/javascripts/discourse/routes/discourse_route.js.coffee#L26-L27) and I don't think it was being used for years now
@CvX CvX added the 2.9 label Jan 17, 2022
@CvX CvX requested a review from eviltrout January 17, 2022 10:56
Copy link
Contributor

@eviltrout eviltrout left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I love it!

@CvX CvX merged commit 2e74f1d into main Feb 1, 2022
@CvX CvX deleted the refactor-clean-dom branch February 1, 2022 18:29
@discoursebot
Copy link

This pull request has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/guest-gate-sign-up-popup-plugin/56625/78

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants