From e42013a2a619f5d73d08563fc0467cce2e62ea96 Mon Sep 17 00:00:00 2001 From: 3D-I Date: Sat, 11 Sep 2021 16:56:34 +0200 Subject: [PATCH 1/2] [ticket/16850] Update webfont loader PHPBB3-16850 --- phpBB/styles/prosilver/template/simple_header.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/styles/prosilver/template/simple_header.html b/phpBB/styles/prosilver/template/simple_header.html index 5543ea0e03..396deb24d6 100644 --- a/phpBB/styles/prosilver/template/simple_header.html +++ b/phpBB/styles/prosilver/template/simple_header.html @@ -17,7 +17,7 @@ (function(d) { var wf = d.createElement('script'), s = d.scripts[0]; - wf.src = 'https://ajax.googleapis.com/ajax/libs/webfont/1.5.18/webfont.js'; + wf.src = 'https://ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js'; wf.async = true; s.parentNode.insertBefore(wf, s); })(document); From 0ff4d051df5b066b93781ccc3ce14e59848e6d32 Mon Sep 17 00:00:00 2001 From: 3D-I Date: Sun, 12 Sep 2021 21:49:57 +0200 Subject: [PATCH 2/2] [ticket/16850] Update webfont loader PHPBB3-16850 --- phpBB/styles/prosilver/template/overall_header.html | 2 +- phpBB/styles/prosilver/template/simple_header.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/phpBB/styles/prosilver/template/overall_header.html b/phpBB/styles/prosilver/template/overall_header.html index fc2731ee67..a1a098c90f 100644 --- a/phpBB/styles/prosilver/template/overall_header.html +++ b/phpBB/styles/prosilver/template/overall_header.html @@ -39,7 +39,7 @@ (function(d) { var wf = d.createElement('script'), s = d.scripts[0]; - wf.src = 'https://ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js'; + wf.src = 'https://cdn.jsdelivr.net/npm/webfontloader@1.6.28/webfontloader.min.js'; wf.async = true; s.parentNode.insertBefore(wf, s); })(document); diff --git a/phpBB/styles/prosilver/template/simple_header.html b/phpBB/styles/prosilver/template/simple_header.html index 396deb24d6..d0ab4e77b1 100644 --- a/phpBB/styles/prosilver/template/simple_header.html +++ b/phpBB/styles/prosilver/template/simple_header.html @@ -17,7 +17,7 @@ (function(d) { var wf = d.createElement('script'), s = d.scripts[0]; - wf.src = 'https://ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js'; + wf.src = 'https://cdn.jsdelivr.net/npm/webfontloader@1.6.28/webfontloader.min.js'; wf.async = true; s.parentNode.insertBefore(wf, s); })(document);