Update init.js
diff --git a/init.js b/init.js
index f8dce9f..7a2eb31 100644
--- a/init.js
+++ b/init.js
@@ -98,11 +98,6 @@
}
dtps.render = function() {
document.title = "Project dtps Alpha"
- var link = document.querySelector("link[rel*='icon']") || document.createElement('link');
- link.type = 'image/png';
- link.rel = 'shortcut icon';
- link.href = 'https://jottocraft.github.io/dtps/favicon.png';
- document.getElementsByTagName('head')[0].appendChild(link);
jQuery("body").html(`
<div class="container">
<div class="section">
@@ -122,6 +117,11 @@
`)
$("link").remove();
jQuery("<link/>", {
+ rel: "shortcut icon",
+ type: "image/png",
+ href: "https://jottocraft.github.io/dtps/favicon.png"
+}).appendTo("head");
+ jQuery("<link/>", {
rel: "stylesheet",
type: "text/css",
href: "https://jottocraft.github.io/dtps/fluid.css"