mirror of
https://github.com/zulip/zulip.git
synced 2026-07-09 21:21:47 +08:00
This commit adds 'close-modal-btn' class to cancel button and cross icon in the deactivation stream modal. This change is a prep commit for enabling background events on 'hidden.bs.modal' event. As we would enable background events in furhter commit using the 'hidden.bs.modal' event, we would need to remove the 'hide.bs.modal' event of deactivation_stream_modal which removes the element from DOM. When we remove this event we would need a e.stopPropagation call to avoid unexpected closing of stream settings which was not a problem previously because the element was being removed from DOM before actual closing of modal. So instead of adding a different handler, we can use the handler used for stream privacy modal here by adding this new class. |
||
|---|---|---|
| .. | ||
| assets | ||
| audio | ||
| generated | ||
| html | ||
| images | ||
| js | ||
| shared | ||
| styles | ||
| templates | ||
| third | ||
| .gitignore | ||