diff --git a/files/templates/util/html_head.html b/files/templates/util/html_head.html
index 86ea6ee8f..1cd4820bc 100644
--- a/files/templates/util/html_head.html
+++ b/files/templates/util/html_head.html
@@ -163,6 +163,8 @@
{% if v and user_event_darkmode(v, g.db)%}
+ {% else %}
+
{% endif %}
{% endif %}