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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user