mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 09:27:43 +00:00
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:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user