mirror of
https://github.com/Xevion/old.xevion.github.io.git
synced 2025-12-07 09:15:41 -06:00
hire me
This commit is contained in:
@@ -2,7 +2,7 @@ $(function() {
|
||||
|
||||
const d = new Date();
|
||||
const hours = d.getHours();
|
||||
const nighttime = (hours >= 19) || (hours <= 7); // 7pm <= hours <= 7am
|
||||
const nighttime = (hours >= 19) || (hours <= 7); // between 7pm and 7am
|
||||
const body = document.querySelector('body');
|
||||
const toggle = document.getElementById('toggle');
|
||||
const input = document.getElementById('switch');
|
||||
|
||||
Reference in New Issue
Block a user