mirror of
https://github.com/Oreolek/ifhub-skin.git
synced 2024-05-08 20:18:24 +03:00
fix: webfont
This commit is contained in:
parent
2b85a09fd2
commit
6c1abff76a
|
@ -24,7 +24,7 @@ jQuery(document).ready(function($){
|
|||
/\/tag\/?/,
|
||||
/\/rss\/?/,
|
||||
/\/ajax\/?/,
|
||||
/#(.+)/,
|
||||
/#(.+)/
|
||||
]
|
||||
});
|
||||
|
||||
|
@ -684,13 +684,5 @@ jQuery(document).ready(function($){
|
|||
|
||||
// Хук конца инициализации javascript-составляющих шаблона
|
||||
ls.hook.run('ls_template_init_end',[],window);
|
||||
|
||||
if (WebFont !== undefined) {
|
||||
WebFont.load({
|
||||
google: {
|
||||
families: ['Open Sans:300,400,700:latin,cyrillic']
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
@ -275,6 +275,11 @@
|
|||
})(document, window, "yandex_metrika_callbacks2");
|
||||
// /Yandex.Metrika counter
|
||||
// Google webfont loader
|
||||
WebFontConfig = {
|
||||
google: {
|
||||
families: ['Open Sans:300,400,700:latin,cyrillic']
|
||||
}
|
||||
}
|
||||
(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';
|
||||
|
|
Loading…
Reference in a new issue