mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 08:56:10 +00:00
confirm_dialog: Make Bootstrap fade class optional.
It would be better to load non-setting modals instantly.
This was previously reverted in
7bfa607d0a due to a rebase conflict.
This commit is contained in:
@@ -872,6 +872,7 @@ export function initialize() {
|
||||
html_body,
|
||||
html_yes_button: $t_html({defaultMessage: "Confirm"}),
|
||||
on_click: remove_user_from_private_stream,
|
||||
fade: true,
|
||||
});
|
||||
return;
|
||||
}
|
||||
@@ -940,6 +941,7 @@ export function initialize() {
|
||||
html_body,
|
||||
html_yes_button: $t_html({defaultMessage: "Confirm"}),
|
||||
on_click: do_archive_stream,
|
||||
fade: true,
|
||||
});
|
||||
|
||||
$(".confirm_dialog_yes_button").attr("data-stream-id", stream_id);
|
||||
|
||||
Reference in New Issue
Block a user