Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
confirm_dialog: Focus on the yes_button after opening the modal.
sahil839208f3d7f1bca
diff --git a/static/js/confirm_dialog.js b/static/js/confirm_dialog.jsindex d9be6d4eb4f..e5073cb8c7a 100644--- a/static/js/confirm_dialog.js+++ b/static/js/confirm_dialog.js@@ -78,4 +78,8 @@ export function launch(conf) {// Open the modaloverlays.open_modal("#confirm_dialog_modal");++ conf.parent.on("shown.bs.modal", () => {+ yes_button.trigger("focus");+ });}