Verified Commit 590dcb95 authored by wish's avatar wish

wtf

parent a673d9a0
......@@ -54,21 +54,21 @@ function draw() {
window.requestAnimationFrame(draw);
}
function blink() {
if (cursorState === false) {
if (cursorState === true) {
document.getElementById("cursor").style.visibility = "hidden";
cursorState = true;
cursorState = false;
var link = document.querySelector("link[rel*='icon']") || document.createElement("link");
link.type = "image/x-icon";
link.rel = "shortcut icon";
link.href = "favicon.ico";
link.href = "favicoff.ico";
document.getElementsByTagName("head")[0].appendChild(link);
} else {
document.getElementById("cursor").style.visibility = "visible";
cursorState = false;
cursorState = true;
var link = document.querySelector("link[rel*='icon']") || document.createElement("link");
link.type = "image/x-icon";
link.rel = "shortcut icon";
link.href = "favicoff.ico";
link.href = "favicon.ico";
document.getElementsByTagName("head")[0].appendChild(link);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment