fix 4 the sequel
This commit is contained in:
parent
4d03d4e3c0
commit
a0b2d06a2c
2 changed files with 3 additions and 4 deletions
|
@ -41,8 +41,7 @@
|
|||
transition-property: outline;
|
||||
transition-delay: 0s;
|
||||
|
||||
margin: 10px;
|
||||
width: revert;
|
||||
width: revert !important;
|
||||
}
|
||||
|
||||
input:active {
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
})());
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue