mirror of
https://github.com/zulip/zulip.git
synced 2025-11-17 20:41:46 +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:
@@ -32,7 +32,7 @@ import * as overlays from "./overlays";
|
||||
*/
|
||||
|
||||
export function launch(conf) {
|
||||
const html = render_confirm_dialog();
|
||||
const html = render_confirm_dialog({fade: conf.fade});
|
||||
const confirm_dialog = $(html);
|
||||
|
||||
const conf_fields = [
|
||||
@@ -47,7 +47,7 @@ export function launch(conf) {
|
||||
];
|
||||
|
||||
for (const f of conf_fields) {
|
||||
if (!conf[f]) {
|
||||
if (conf[f] === undefined) {
|
||||
blueslip.error("programmer omitted " + f);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user