From db0d4eeed2a44590f7d5689796456c57c127fba1 Mon Sep 17 00:00:00 2001 From: OpenClaw Date: Fri, 20 Feb 2026 09:34:13 +0000 Subject: [PATCH] fix: FAQ accordion double-toggle bug, de-emphasize rate limiting - FAQ had both inline onclick AND addEventListener, causing double-toggle (no visible change) - Removed duplicate JS listener, keeping inline onclick - Replaced 'Rate limiting' mention in features with 'Secure defaults' --- public/index.html | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/public/index.html b/public/index.html index 46c9278..ab79481 100644 --- a/public/index.html +++ b/public/index.html @@ -330,7 +330,7 @@ footer{border-top:1px solid var(--border);padding:48px 24px 32px;background:var(
🔒

Secure by Default

-

SSRF protection blocks internal IPs and metadata endpoints. Rate limiting and strict input validation built in.

+

SSRF protection blocks internal IPs and metadata endpoints. Strict input validation and secure defaults built in.

📐
@@ -633,10 +633,7 @@ async function runPlayground(){ } } -// FAQ toggles -document.querySelectorAll('.faq-q').forEach(function(q){ - q.addEventListener('click',function(){this.parentElement.classList.toggle('open')}); -}); +// FAQ toggles — handled by inline onclick, no duplicate listeners needed // Smooth scroll document.querySelectorAll('a[href^="#"]').forEach(function(a){