fix 4 the sequel

This commit is contained in:
Pagwin 2025-09-02 16:28:26 -04:00
parent 4d03d4e3c0
commit a0b2d06a2c
2 changed files with 3 additions and 4 deletions

View file

@ -41,8 +41,7 @@
transition-property: outline;
transition-delay: 0s;
margin: 10px;
width: revert;
width: revert !important;
}
input:active {

View file

@ -8,10 +8,10 @@ self.addEventListener("fetch", event =>{
const body = await resp.text();
const url = new URL(event.request.url);
if(url.pathname.endsWith("light-dark-toggle")){
return await handle_redirect(req);
return await handle_redirect(event.request);
}
else {
return await handle_html(req,resp);
return await handle_html(event.request,resp);
}
})());
})