mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 08:26:11 +00:00
* Currently, the confirm_dialog is used only in the settings pane, which already has the `new-style` class in the main `settings_overlay.hbs` file. So, the confirm modal is rendered correctly there. But to make it available for use outside of the settings pane, we add the `new-style` class to the confirm container itself, without which, the buttons look ugly. * The other change here is the click handler for removing the modal element. Previously, when the modal was closed (with any of the "yes"/"no"/"cross" buttons), there was a small time interval of around a second during which the modal had disappeared, but the background content was still in the faded-out state. This change fixes this glitch. This glitch was probably not noticable earlier, because the settings pane itself causes the background to be slightly faded out.
2.2 KiB
2.2 KiB