Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
settings_emoji: Rename btn -> button in JS variables.
Sayam Samalc79d0c4cfdba
diff --git a/web/src/settings_emoji.ts b/web/src/settings_emoji.tsindex e66c39866ca..b48c814e838 100644--- a/web/src/settings_emoji.ts+++ b/web/src/settings_emoji.ts@@ -320,13 +320,13 @@ export function set_up(): void {$(".admin_emoji_table").on("click", ".delete", function (e) {e.preventDefault();e.stopPropagation();- const $btn = $(this);- const url = "/json/realm/emoji/" + encodeURIComponent($btn.attr("data-emoji-name")!);+ const $button = $(this);+ const url = "/json/realm/emoji/" + encodeURIComponent($button.attr("data-emoji-name")!);const html_body = render_confirm_deactivate_custom_emoji({});const opts = {success_continuation() {- const $row = $btn.parents("tr");+ const $row = $button.parents("tr");$row.remove();},};