From b46f59be2e6c23fc8b01d8af35e7a00074f1526e Mon Sep 17 00:00:00 2001 From: Kuba Orlik Date: Sun, 11 Feb 2024 14:01:22 +0100 Subject: [PATCH] Fix styles refreshing issue with old styles still being there --- src/back/html.ts | 47 ++++++++++++++++++++++++++++++++++++----------- 1 file changed, 36 insertions(+), 11 deletions(-) diff --git a/src/back/html.ts b/src/back/html.ts index 1dab02a..2c8c77e 100644 --- a/src/back/html.ts +++ b/src/back/html.ts @@ -39,19 +39,44 @@ export default function html( ${(navbar || default_navbar)(ctx)} ${body} ${autoRefreshCSS ? /* HTML */ ``