1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-21 05:21:17 -04:00

fix hcaptcha bugginess

This commit is contained in:
2022-04-17 14:52:59 -04:00
parent fa968dbcd2
commit a632246975
6 changed files with 43 additions and 41 deletions

View File

@@ -20,7 +20,7 @@ const clientScript = () => {
} else {
var q = "__MEDIA_QUERY__",
m = window.matchMedia(q);
m.media !== q || m.matches ? l.add(c["dark"]) : l.add(c["light"]);
l.add(c[m.media !== q || m.matches ? "dark" : "light"]);
}
} catch (e) {}
};