mirror of
https://github.com/Hacks-R-Us/hacksrus.uk.git
synced 2025-10-16 21:03:45 +01:00
Rainbow / Unicorn mode
This commit is contained in:
parent
70aca503ee
commit
2cccda40e2
@ -61,6 +61,11 @@
|
||||
document.getElementById("policy").scrollIntoView();
|
||||
}
|
||||
}
|
||||
|
||||
const queryString = window.location.search;
|
||||
if (queryString.match(/[rainbow|unicorn]mode=1/i)) {
|
||||
document.body.classList.add("unicorns");
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
x
Reference in New Issue
Block a user