[dev] Change face every 5 seconds
1 files changed, 10 insertions(+), 1 deletions(-) M src/faces.js
M src/faces.js => src/faces.js +10 -1
@@ 28,8 28,17 @@ const faces = [ "^3^", "^.^", "•~•", // Think ">w<", ]; document.getElementById("faces").addEventListener("mousedown", (a) => { change_face(); }); change_face(); const random_face_change = () => { change_face(); setTimeout(() => { random_face_change(); }, 1000 * 5); }; random_face_change();