From 3f1b78aab993d10e07d72d589162613f1b95705e Mon Sep 17 00:00:00 2001 From: Aman Agrawal Date: Mon, 30 Sep 2024 04:28:43 +0000 Subject: [PATCH] scheduled_messages: Use specific name for `items_container_selector`. This avoids selecting an element from hidden other elements having the same class. --- web/src/scheduled_messages_overlay_ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/scheduled_messages_overlay_ui.js b/web/src/scheduled_messages_overlay_ui.js index 54746b0405..bcb49b8197 100644 --- a/web/src/scheduled_messages_overlay_ui.js +++ b/web/src/scheduled_messages_overlay_ui.js @@ -42,7 +42,7 @@ export const keyboard_handling_context = { $focused_row.remove(); scheduled_messages.delete_scheduled_message(focused_element_id); }, - items_container_selector: "overlay-messages-container", + items_container_selector: "scheduled-messages-container", items_list_selector: "overlay-messages-list", row_item_selector: "scheduled-message-row", box_item_selector: "overlay-message-info-box",