fix: reveal mode not working when already ON at page load

If reveal mode was saved as ON in settings, the page loaded with
revealMode=true and prevRevealMode=true. The checkRevealToggle
function only fires on transitions (off→on or on→off), so the
reveal interval was never started. Added initialization check
that starts the reveal interval immediately if revealMode is
already true at page load.

https://claude.ai/code/session_01KF4i7Ra7zCEDskxDBaNtcT
This commit is contained in:
Claude
2026-03-29 16:49:42 +00:00
parent 65d60cfbe0
commit d494ebaf8c
5 changed files with 12 additions and 4 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "silent-send",
"version": "0.9.10",
"version": "0.9.11",
"private": true,
"license": "MIT",
"description": "Browser extension that substitutes personal data before sending to AI services",