Skip to content

Support `js-close` as a removal class in UserCallout

Lukas Eipert requested to merge 5710-add-contact-sales-option-for-epics into master

What does this MR do?

Add support for dismissing elements with the class .js-close when a User dismisses a callout.

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

No

Why was this MR needed?

While working on https://gitlab.com/gitlab-org/gitlab-ee/issues/5710 I realized that UserSupport allows to remove elements with the .close class. The only problem is, that this class applies CSS styles as well. So I created support for a second class .js-close, which should has no styles applied to it.

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Merge request reports