diff --git a/bulkArchiveConversations.js b/bulkArchiveConversations.js index b84fa69..edb31bd 100644 --- a/bulkArchiveConversations.js +++ b/bulkArchiveConversations.js @@ -50,7 +50,7 @@ async function archiveConversation(checkbox) { console.log("1. Hovering over conversation...", conversationElement); - const interactiveElement = conversationElement.querySelector("[draggable=\"true\"]"); + const interactiveElement = conversationElement.querySelector("[draggable]"); if (!interactiveElement) { console.log("Skipping conversation - no interactive elements found"); // Show notification to user diff --git a/bulkDeleteConversations.js b/bulkDeleteConversations.js index 22760b9..e20e97f 100644 --- a/bulkDeleteConversations.js +++ b/bulkDeleteConversations.js @@ -63,7 +63,7 @@ async function deleteConversation(checkbox) { console.log("conversationElement", conversationElement); // Look for interactive element within the conversation element - const interactiveElement = conversationElement.querySelector("[draggable=\"true\"]"); + const interactiveElement = conversationElement.querySelector("[draggable]"); if (!interactiveElement) { console.log("Skipping conversation - no interactive elements found"); // Show notification to user