Skip to content

Stop exporting addDismissFlashClickListener

What does this MR do and why?

addDismissFlashClickListener was used outside the flash.js module in main.js. It was not working as intended, because the flash elements created by Rails don't have .js-close-icon buttons, but .js-close.

Additional reasons on why addDismissFlashClickListener should be removed in this !108827 (comment 1242289219)

Related to Resize component on alert dismiss (!108811 - merged)

Screenshots or screen recordings

N/A

How to set up and validate locally

N/A

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Eduardo Sanz García

Merge request reports