potential firefox fix

This commit is contained in:
KevinWh0 2024-05-03 12:20:58 +02:00
parent 975b6b3dd0
commit 0117f1896c

View file

@ -50,8 +50,10 @@ class FavIconDot {
private _createFaviconElem() {
const newLink = document.createElement('link');
newLink.rel = 'icon';
newLink.href = '/favicon.ico';
newLink.setAttribute('rel', 'icon');
newLink.setAttribute('href', '/favicon.ico');
newLink.setAttribute('type', 'image/x-icon');
document.head.appendChild(newLink);
return newLink;
}