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:
Ganesh Pawar
2021-06-09 20:05:08 +05:30
committed by Tim Abbott
parent 5be92ad30d
commit 6e4735a4e9
10 changed files with 13 additions and 3 deletions

View File

@@ -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);