Ubuntu

­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­ var wp_tarteaucitron = { "selectService": function (id, id_uniq) { "use strict"; wp_tarteaucitron.toggle('addit' + id); wp_tarteaucitron.toggle('hoveradd_b' + id); if (document.getElementById('addit' + id).style.display === 'none') { document.getElementById('check' + id).checked = false; if (id_uniq !== undefined) { document.getElementById('img_' + id_uniq).src = 'https://tarteaucitron.io/img/services/000.png'; document.getElementById('input_img_' + id_uniq).value = '000'; } } else { document.getElementById('check' + id).checked = true; } }, "toggle": function (id) { "use strict"; if (document.getElementById(id).style.display === 'none') { document.getElementById(id).style.display = 'block'; } else if (document.getElementById(id).style.display === 'block') { document.getElementById(id).style.display = 'none'; } }, "cssByClass": function (matchClass, content) { "use strict"; var elems = document.getElementsByTagName('*'), i, index = 0; for (i in elems) { if (elems[i] !== undefined) { for (index = 0; index < matchClass.length; index += 1) { if ((' ' + elems[i].className + ' ') .indexOf(' ' + matchClass[index] + ' ') > -1) { elems[i].style.border = content; } } } } } };