uuuuugh
This commit is contained in:
parent
66bf451657
commit
b39ac2c35b
1 changed files with 1 additions and 0 deletions
|
@ -20,6 +20,7 @@ async function fetchResponse(event) {
|
||||||
// this is a brittle way of accomplishing our desired behavior
|
// this is a brittle way of accomplishing our desired behavior
|
||||||
body.replace(`<input id="css_state" type="checkbox" hidden>`,
|
body.replace(`<input id="css_state" type="checkbox" hidden>`,
|
||||||
`<input id="css_state" type="checkbox" hidden ${theme_toggled ? "checked" : ""}>`);
|
`<input id="css_state" type="checkbox" hidden ${theme_toggled ? "checked" : ""}>`);
|
||||||
|
console.log(body);
|
||||||
return new Response(body, resp);
|
return new Response(body, resp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue