diff --git a/static/js/settings_bots.js b/static/js/settings_bots.js index 5bf8193e99..b0491c9d87 100644 --- a/static/js/settings_bots.js +++ b/static/js/settings_bots.js @@ -362,7 +362,7 @@ export function set_up() { $(`[name*='${CSS.escape(selected_bot)}']`).show(); }); - $("#active_bots_list").on("click", "button.delete_bot", (e) => { + $("#active_bots_list").on("click", "button.deactivate_bot", (e) => { const bot_id = Number.parseInt($(e.currentTarget).attr("data-user-id"), 10); channel.del({ diff --git a/static/templates/settings/bot_avatar_row.hbs b/static/templates/settings/bot_avatar_row.hbs index 8ced772b07..256f2f99de 100644 --- a/static/templates/settings/bot_avatar_row.hbs +++ b/static/templates/settings/bot_avatar_row.hbs @@ -14,8 +14,8 @@ - {{/if}}