From e7a337182624cee7f5c37cced61bc0d98924697b Mon Sep 17 00:00:00 2001 From: Russell Ballestrini Date: Mon, 30 Jun 2025 17:14:52 -0400 Subject: [PATCH] Revert "fix floating button by removing duplicate check before creation" This reverts commit 37722fe392ff47d7348bbe9b48ca525bb44af05c. --- uncloseai.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/uncloseai.js b/uncloseai.js index ab1f5c9..566cf05 100644 --- a/uncloseai.js +++ b/uncloseai.js @@ -1153,12 +1153,6 @@ document.getElementById("user-input").addEventListener("keydown", function(event // Function to create floating AI button function createFloatingAIButton() { - // Remove any existing floating button first - const existingButton = document.getElementById('floating-ai-button'); - if (existingButton) { - existingButton.remove(); - } - // Create the main floating button const floatingButton = document.createElement('button'); floatingButton.id = 'floating-ai-button';