From 7c4b2b77d7afa79839342980e8f75f4ad6331fd4 Mon Sep 17 00:00:00 2001 From: MG-5 Date: Wed, 1 Nov 2023 14:48:52 +0100 Subject: [PATCH] Fix auto darkmode is overwritten by light mode --- assets/js/main.min.js | 2 +- assets/js/partials/dark-mode.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/assets/js/main.min.js b/assets/js/main.min.js index a33eb8a..52ead77 100644 --- a/assets/js/main.min.js +++ b/assets/js/main.min.js @@ -1,5 +1,5 @@ /* @preserve Cookie Consent Init */ function createCookie(e,t,o){var n="";if(o){var i=new Date;i.setTime(i.getTime()+24*o*60*60*1e3),n="; expires="+i.toUTCString()}document.cookie=`${e}=${t}${n}; path=/`}function readCookie(e){for(var t=e+"=",o=document.cookie.split(";"),n=0;n