mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Fix compatibility issue with old browsers
This commit is contained in:
parent
54c7214b59
commit
645926c2ef
@ -98,7 +98,7 @@ define(['/api/config'], function (ApiConfig) {
|
||||
|
||||
if(!document.getElementById("favicon-ico")) {
|
||||
var faviconLink = document.createElement('link');
|
||||
attrs.href = attrs.href.replaceAll(".png", ".ico");
|
||||
attrs.href = attrs.href.replace(/\.png/g, ".ico");
|
||||
attrs.id = 'favicon-ico';
|
||||
attrs.type = 'image/x-icon';
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user