From 645926c2ef159e5e63fedb09507674789813b44b Mon Sep 17 00:00:00 2001 From: yflory Date: Thu, 25 Jan 2024 15:54:09 +0100 Subject: [PATCH] Fix compatibility issue with old browsers --- www/common/notify.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/common/notify.js b/www/common/notify.js index d30eaedf3..8e4d2adfe 100644 --- a/www/common/notify.js +++ b/www/common/notify.js @@ -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';