diff options
author | Marc Alexander <admin@m-a-styles.de> | 2015-05-28 16:25:26 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2015-05-28 16:25:26 +0200 |
commit | 518902ef515151e780e8b98a07d7a80a1d70de55 (patch) | |
tree | 396265cb6eb7c8be56f8c3dfe96a01feebe83ff3 /phpBB/styles/prosilver | |
parent | f5801320b7e550f4de5d332b87cad6fc5b953fb6 (diff) | |
parent | 44fcdd007fd82dbedf3188a035075416818161ab (diff) | |
download | forums-518902ef515151e780e8b98a07d7a80a1d70de55.tar forums-518902ef515151e780e8b98a07d7a80a1d70de55.tar.gz forums-518902ef515151e780e8b98a07d7a80a1d70de55.tar.bz2 forums-518902ef515151e780e8b98a07d7a80a1d70de55.tar.xz forums-518902ef515151e780e8b98a07d7a80a1d70de55.zip |
Merge pull request #3640 from callumacrae/ticket/13876
[ticket/13876] Use webfontloader asyncronously.
Diffstat (limited to 'phpBB/styles/prosilver')
-rw-r--r-- | phpBB/styles/prosilver/template/overall_header.html | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/phpBB/styles/prosilver/template/overall_header.html b/phpBB/styles/prosilver/template/overall_header.html index 03891eeca8..4e2013e276 100644 --- a/phpBB/styles/prosilver/template/overall_header.html +++ b/phpBB/styles/prosilver/template/overall_header.html @@ -27,7 +27,22 @@ Modified by: --> -<!-- IF S_ALLOW_CDN --><link href="//fonts.googleapis.com/css?family=Open+Sans:600&subset=latin,cyrillic-ext,latin-ext,cyrillic,greek-ext,greek,vietnamese" rel="stylesheet"><!-- ENDIF --> +<!-- IF S_ALLOW_CDN --> +<script> + WebFontConfig = { + google: { + families: ['Open Sans:n6'] + } + }; + + (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.async = true; + s.parentNode.insertBefore(wf, s); + })(document); +</script> +<!-- ENDIF --> <link href="{T_STYLESHEET_LINK}" rel="stylesheet"> <link href="{T_STYLESHEET_LANG_LINK}" rel="stylesheet"> <link href="{T_THEME_PATH}/responsive.css?assets_version={T_ASSETS_VERSION}" rel="stylesheet" media="all and (max-width: 700px), all and (max-device-width: 700px)" /> |