commit 69a89d76df405c12cc5e4a483c2f20d963dc3f63
parent 3f4a22808ce41462bf2d2f5f8461aae038e53963
Author: William Casarin <jb55@jb55.com>
Date: Mon, 31 Oct 2022 09:55:57 -0700
remove mask-icon logic for now
need a proper black/white mask icon before I can do this
Diffstat:
1 file changed, 0 insertions(+), 8 deletions(-)
diff --git a/webv2/damus.js b/webv2/damus.js
@@ -57,7 +57,6 @@ const BOOTSTRAP_RELAYS = [
function update_favicon(path)
{
let link = document.querySelector("link[rel~='icon']");
- let link_mask = document.querySelector("link[rel~='mask-icon']");
const head = document.getElementsByTagName('head')[0]
if (!link) {
@@ -66,14 +65,7 @@ function update_favicon(path)
head.appendChild(link);
}
- if (!link_mask) {
- link_mask = document.createElement('link');
- link_mask.rel = 'mask-icon';
- head.appendChild(link_mask);
- }
-
link.href = path;
- link_mask.href = path;
}
function update_title(model) {