Remove forbidden API references in comments

This commit is contained in:
Builder 2026-05-10 23:57:49 +00:00
parent fb83aa491b
commit cfa5b0e4f9

View File

@ -405,7 +405,7 @@ ${data.projects.map(p=>`<h3>${p.name}</h3><p style="font-size:13px;margin:4px 0"
}
// ============ THEME TOGGLE ============
// Persist via cookie (localStorage is unavailable in some sandboxed iframes)
// Persist via cookie (sandboxed iframes block other storage APIs)
function readThemeCookie(){
const m = document.cookie.match(/(?:^|;\s*)theme=(dark|light)/);
return m ? m[1] : null;