mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/16850] Update webfont loader
PHPBB3-16850
This commit is contained in:
parent
e42013a2a6
commit
0ff4d051df
2 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@
|
||||||
|
|
||||||
(function(d) {
|
(function(d) {
|
||||||
var wf = d.createElement('script'), s = d.scripts[0];
|
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;
|
wf.async = true;
|
||||||
s.parentNode.insertBefore(wf, s);
|
s.parentNode.insertBefore(wf, s);
|
||||||
})(document);
|
})(document);
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
(function(d) {
|
(function(d) {
|
||||||
var wf = d.createElement('script'), s = d.scripts[0];
|
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;
|
wf.async = true;
|
||||||
s.parentNode.insertBefore(wf, s);
|
s.parentNode.insertBefore(wf, s);
|
||||||
})(document);
|
})(document);
|
||||||
|
|
Loading…
Add table
Reference in a new issue