From 7133ea5ec11eab7147bcaad38e3bcf238d58b4c9 Mon Sep 17 00:00:00 2001 From: ashley Date: Sun, 24 Aug 2025 12:36:55 +0200 Subject: [PATCH] Update html/weather.ejs --- html/weather.ejs | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/html/weather.ejs b/html/weather.ejs index 6d1d103a..f5a85e79 100644 --- a/html/weather.ejs +++ b/html/weather.ejs @@ -60,13 +60,14 @@ .suggest button:last-child{border-bottom:0} .hidden{display:none} @media (min-width:780px){.current{grid-column:span 7}.panel{grid-column:span 5}} - - /* SSR (no-JS) block */ - .ssr{display:none} - .no-js .ssr{display:block} - .no-js main{display:none} + -<% /* Add a no-JS class if you detect on server (e.g., via UA or query). Default leaves it blank. */ %> +