Posts by Raoul Torrez

'; TILES.forEach(function(t){ html+=''; }); html+='
'; w.innerHTML=html; f9.parentNode.insertBefore(w,f9); w.addEventListener('click',function(ev){ var b=ev.target; while(b && b!==w && !(b.classList&&b.classList.contains('te-tile'))) b=b.parentNode; if(b&&b.classList&&b.classList.contains('te-tile')) pick(b.getAttribute('data-k')); }); document.body.classList.add('te-router-on'); // only hide natives AFTER tiles exist sync(); } if(document.readyState!=='loading') init(); else document.addEventListener('DOMContentLoaded',init); if(window.jQuery){ jQuery(document).on('gform_post_render',function(e,fid){ if(fid==2) init(); }); } })();