Fix custom favicons on Chrome.
This commit is contained in:
parent
d6ae45eb5d
commit
b38ef315fc
@ -1692,6 +1692,7 @@
|
||||
favicon = $('link[rel="shortcut icon"]', d.head);
|
||||
clone = favicon.cloneNode(true);
|
||||
clone.href = href;
|
||||
clone.setAttribute('type', 'image/x-icon');
|
||||
return $.replace(favicon, clone);
|
||||
}
|
||||
};
|
||||
|
||||
@ -1322,6 +1322,7 @@ Favicon =
|
||||
favicon = $ 'link[rel="shortcut icon"]', d.head
|
||||
clone = favicon.cloneNode true
|
||||
clone.href = href
|
||||
clone.setAttribute 'type', 'image/x-icon'
|
||||
$.replace favicon, clone
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user