mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-11-13 09:46:13 -05:00
fix hcaptcha bugginess
This commit is contained in:
6 files changed
+43
-41
No files matched your search
@@ -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) {}
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user