From 663fb36e356c41636a9c573daae7c7dd3483c1f5 Mon Sep 17 00:00:00 2001 From: Sayam Samal Date: Wed, 13 Nov 2024 18:15:01 +0530 Subject: [PATCH] alert_words_ui: Rename btn -> button in JS variables. This commit is a part of the efforts to rename btn-related classes and variables to align with Zulip's no-abbreviations policy and streamline the search results. --- web/tests/alert_words_ui.test.cjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/tests/alert_words_ui.test.cjs b/web/tests/alert_words_ui.test.cjs index 595a473155..d57c51403c 100644 --- a/web/tests/alert_words_ui.test.cjs +++ b/web/tests/alert_words_ui.test.cjs @@ -101,8 +101,8 @@ run_test("close_status_message", ({override_rewire}) => { const close = $alert_word_settings.get_on_handler("click", ".close-alert-word-status"); const $alert = $(".alert"); - const $close_btn = $(".close-alert-word-status"); - $close_btn.set_parents_result(".alert", $alert); + const $close_button = $(".close-alert-word-status"); + $close_button.set_parents_result(".alert", $alert); $alert.show();