Verified Commit 8cbd8384 authored by wish's avatar wish

why

parent bcc40e8c
......@@ -58,16 +58,14 @@ function blink() {
document.getElementById("cursor").style.visibility = "hidden";
cursorState = false;
var link = document.querySelector("link[rel*='icon']") || document.createElement("link");
link.type = "image/x-icon";
link.rel = "shortcut icon";
link.rel = "icon";
link.href = "favicoff.ico";
document.getElementsByTagName("head")[0].appendChild(link);
} else {
document.getElementById("cursor").style.visibility = "visible";
cursorState = true;
var link = document.querySelector("link[rel*='icon']") || document.createElement("link");
link.type = "image/x-icon";
link.rel = "shortcut icon";
link.rel = "icon";
link.href = "favicon.ico";
document.getElementsByTagName("head")[0].appendChild(link);
}
......
......@@ -7,7 +7,7 @@
<title>wish</title>
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=M+PLUS+1p:300&amp;subset=japanese">
<link rel="stylesheet" href="home.css">
<link type="image/x-icon" rel="shortcut icon" href="favicon.ico">
<link rel="icon" href="favicon.ico">
</head>
<body>
<canvas id="canvas"></canvas>
......
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