| Linux webm010.cluster103.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 Path : /home/cuisinesj/www/new/wp-content/themes/customizr/inc/assets/css/fonts/ |
| Current File : /home/cuisinesj/www/new/wp-content/themes/customizr/inc/assets/css/fonts/lte-ie7.js |
/* Load this script using conditional IE comments if you need to support IE 7 and IE 6. */
window.onload = function() {
function addIcon(el, entity) {
var html = el.innerHTML;
el.innerHTML = '<span style="font-family: \'genericons\'">' + entity + '</span>' + html;
}
var icons = {
'icon-bubble' : '' ,
'icon-facebook':'' ,
'icon-twitter':'' ,
'icon-google': '' ,
'icon-feed': '' ,
'icon-github': '' ,
'icon-dribbble': '' ,
'icon-pinterest': '' ,
'icon-youtube': '' ,
'icon-linkedin': ''
},
els = document.getElementsByTagName( '*' ),
i, attr, html, c, el;
for (i = 0; i < els.length; i += 1) {
el = els[i];
attr = el.getAttribute( 'data-icon' );
if (attr) {
addIcon(el, attr);
}
c = el.className;
c = c.match(/icon-[^\s'"]+/);
if (c && icons[c[0]]) {
addIcon(el, icons[c[0]]);
}
}
};