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