potential firefox fix
This commit is contained in:
parent
975b6b3dd0
commit
0117f1896c
1 changed files with 4 additions and 2 deletions
|
@ -50,8 +50,10 @@ class FavIconDot {
|
||||||
|
|
||||||
private _createFaviconElem() {
|
private _createFaviconElem() {
|
||||||
const newLink = document.createElement('link');
|
const newLink = document.createElement('link');
|
||||||
newLink.rel = 'icon';
|
newLink.setAttribute('rel', 'icon');
|
||||||
newLink.href = '/favicon.ico';
|
newLink.setAttribute('href', '/favicon.ico');
|
||||||
|
newLink.setAttribute('type', 'image/x-icon');
|
||||||
|
|
||||||
document.head.appendChild(newLink);
|
document.head.appendChild(newLink);
|
||||||
return newLink;
|
return newLink;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue