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.
This commit is contained in:
Russell Ballestrini 2025-06-30 18:42:15 -04:00
parent f8a146f241
commit a5fd6902ba
2 changed files with 4 additions and 1 deletions

View file

@ -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;
</script>
<script src="https://uncloseai.com/uncloseai.js" type="module"></script>

View file

@ -90,7 +90,7 @@
<p>To disable the floating button (if you only want the API functions):</p>
<pre><code class="javascript">&lt;script&gt;
window.UNCLOSEAI_FLOATING_BUTTON = false;
&lt;/script&gt;</code></pre>
<h4>Class-Based Integration</h4>