Merge pull request #48 from outis1one/claude/read-repo-YMu21

fix: reveal mode not working when already ON at page load, bump 0.9.11
This commit is contained in:
Outis
2026-03-29 12:49:56 -04:00
committed by GitHub
5 changed files with 12 additions and 4 deletions
+8
View File
@@ -1796,6 +1796,14 @@
prevRevealMode = settings.revealMode;
}
// If reveal mode was already ON at page load, start the interval immediately
if (settings.revealMode) {
console.log('[Silent Send] Reveal mode ON (from saved settings)');
revealInterval = setInterval(() => {
if (settings.revealMode) revealAllResponses();
}, 2000);
}
// Hook into config updates to detect reveal toggle
window.addEventListener('message', (event) => {
if (event.source !== window) return;