fix: theme toggle — CSP-safe event delegation + full cache bust
Reverted onclick approach (blocked by CSP script-src 'self'). Restored document.addEventListener delegation from app.ts ('self' script, CSP-compliant). Previous attempt only ran build:js — cache-id was stale so browsers served the old app.js. Full npm run build now bumps cache-id.
sha256:8ab6835d10fe633e190e059290c26285da0e519ff56f0d21f7a99a16835092b0
sha
sha256:eae2603232deba1fbc9f0d34a75f26bcec0633eaff869424cbede3bd18639a65
snapshot
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:8ab6835d10fe633e190e059290c26285da0e519ff56f0d21f7a99a16835092b0 --body "your comment"
No comments yet. Be the first to start the discussion.