} var fired = false; if(supportsTouch){ window.addEventListener('touchstart',()=>{if(fired===false){fired=true;setTimeout(()=>{initCounters();},0)}}); } else { window.addEventListener('scroll',()=>{if(fired===false){fired=true;setTimeout(()=>{initCounters();},0)}}); } window.addEventListener('mousemove',()=>{if(fired===false){fired=true;setTimeout(()=>{initCounters();},0)}});