aboutsummaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'index.html')
-rw-r--r--index.html9
1 files changed, 8 insertions, 1 deletions
diff --git a/index.html b/index.html
index c26946c..776f364 100644
--- a/index.html
+++ b/index.html
@@ -311,7 +311,14 @@
}
document.write("<title>Antheia</title>")
- document.write("<link rel=\"icon\" href=\"./icon.png\">")
+ function setFavicons(favImg){
+ let headTitle = document.querySelector('head');
+ let setFavicon = document.createElement('link');
+ setFavicon.setAttribute('rel','shortcut icon');
+ setFavicon.setAttribute('href',favImg);
+ headTitle.appendChild(setFavicon);
+}
+setFavicons('https://raw.githubusercontent.com/squiresgrant/Antheia/main/icon.ico');
var bank = getCookie('bank');
var inv = getCookie('inv');
var inv = getCookie('storage');