mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/13955] Revert changes made in previous commit
Revert the javascript function change Place the families code on it's own line PHPBB3-13955
This commit is contained in:
parent
886ca1dbb9
commit
4ac2256683
2 changed files with 20 additions and 20 deletions
|
@ -28,19 +28,19 @@
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<!-- IF S_ALLOW_CDN -->
|
<!-- IF S_ALLOW_CDN -->
|
||||||
<script type="text/javascript">
|
<script>
|
||||||
WebFontConfig = {
|
WebFontConfig = {
|
||||||
google: { families: [ 'Open+Sans:600:cyrillic-ext,latin,greek-ext,greek,vietnamese,latin-ext,cyrillic' ] }
|
google: {
|
||||||
|
families: ['Open+Sans:600:cyrillic-ext,latin,greek-ext,greek,vietnamese,latin-ext,cyrillic']
|
||||||
|
}
|
||||||
};
|
};
|
||||||
(function() {
|
|
||||||
var wf = document.createElement('script');
|
(function(d) {
|
||||||
wf.src = ('https:' == document.location.protocol ? 'https' : 'http') +
|
var wf = d.createElement('script'), s = d.scripts[0];
|
||||||
'://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js';
|
wf.src = 'https://ajax.googleapis.com/ajax/libs/webfont/1.5.18/webfont.js';
|
||||||
wf.type = 'text/javascript';
|
wf.async = true;
|
||||||
wf.async = 'true';
|
|
||||||
var s = document.getElementsByTagName('script')[0];
|
|
||||||
s.parentNode.insertBefore(wf, s);
|
s.parentNode.insertBefore(wf, s);
|
||||||
})();
|
})(document);
|
||||||
</script>
|
</script>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
<link href="{T_STYLESHEET_LINK}" rel="stylesheet">
|
<link href="{T_STYLESHEET_LINK}" rel="stylesheet">
|
||||||
|
|
|
@ -7,19 +7,19 @@
|
||||||
<title>{SITENAME} • <!-- IF S_IN_MCP -->{L_MCP} • <!-- ELSEIF S_IN_UCP -->{L_UCP} • <!-- ENDIF -->{PAGE_TITLE}</title>
|
<title>{SITENAME} • <!-- IF S_IN_MCP -->{L_MCP} • <!-- ELSEIF S_IN_UCP -->{L_UCP} • <!-- ENDIF -->{PAGE_TITLE}</title>
|
||||||
|
|
||||||
<!-- IF S_ALLOW_CDN -->
|
<!-- IF S_ALLOW_CDN -->
|
||||||
<script type="text/javascript">
|
<script>
|
||||||
WebFontConfig = {
|
WebFontConfig = {
|
||||||
google: { families: [ 'Open+Sans:600:cyrillic-ext,latin,greek-ext,greek,vietnamese,latin-ext,cyrillic' ] }
|
google: {
|
||||||
|
families: ['Open+Sans:600:cyrillic-ext,latin,greek-ext,greek,vietnamese,latin-ext,cyrillic']
|
||||||
|
}
|
||||||
};
|
};
|
||||||
(function() {
|
|
||||||
var wf = document.createElement('script');
|
(function(d) {
|
||||||
wf.src = ('https:' == document.location.protocol ? 'https' : 'http') +
|
var wf = d.createElement('script'), s = d.scripts[0];
|
||||||
'://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js';
|
wf.src = 'https://ajax.googleapis.com/ajax/libs/webfont/1.5.18/webfont.js';
|
||||||
wf.type = 'text/javascript';
|
wf.async = true;
|
||||||
wf.async = 'true';
|
|
||||||
var s = document.getElementsByTagName('script')[0];
|
|
||||||
s.parentNode.insertBefore(wf, s);
|
s.parentNode.insertBefore(wf, s);
|
||||||
})();
|
})(document);
|
||||||
</script>
|
</script>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
<link href="{T_STYLESHEET_LINK}" rel="stylesheet">
|
<link href="{T_STYLESHEET_LINK}" rel="stylesheet">
|
||||||
|
|
Loading…
Add table
Reference in a new issue