settings_exports: 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.
This commit is contained in:
Sayam Samal
2024-11-13 17:59:00 +05:30
committed by Tim Abbott
parent c79d0c4cfd
commit bc1306f26b

View File

@@ -391,8 +391,8 @@ export function set_up(): void {
$(".admin_exports_table").on("click", ".delete", function (e) {
e.preventDefault();
e.stopPropagation();
const $btn = $(this);
const url = "/json/export/realm/" + encodeURIComponent($btn.attr("data-export-id")!);
const $button = $(this);
const url = "/json/export/realm/" + encodeURIComponent($button.attr("data-export-id")!);
const html_body = render_confirm_delete_data_export();
confirm_dialog.launch({