From a5fd6902baea5338591664e4e6bf1cc431ee008c Mon Sep 17 00:00:00 2001 From: Russell Ballestrini Date: Mon, 30 Jun 2025 18:42:15 -0400 Subject: [PATCH] Docs: Document UNCLOSEAI_FLOATING_BUTTON in index.html and demo.html Updated index.html to correctly show the script tag for disabling the floating button. Also added the same documentation to demo.html for consistency. --- demo.html | 3 +++ index.html | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/demo.html b/demo.html index a715cb0..ab2b3a7 100644 --- a/demo.html +++ b/demo.html @@ -36,6 +36,9 @@ // Disable custom styling for uncloseai.js - use PicoCSS instead window.UNCLOSEAI_CUSTOM_STYLING = false; + + // Disable the floating button + window.UNCLOSEAI_FLOATING_BUTTON = false; diff --git a/index.html b/index.html index 7c51965..3aa2a93 100644 --- a/index.html +++ b/index.html @@ -90,7 +90,7 @@

To disable the floating button (if you only want the API functions):

<script>
-    
+    window.UNCLOSEAI_FLOATING_BUTTON = false;
 </script>

Class-Based Integration