Line 113: | Line 113: | ||
else e.innerHTML=e.dataset.typer.substring(0, cht+=3); | else e.innerHTML=e.dataset.typer.substring(0, cht+=3); | ||
setTimeout(typeItt, ~~(Math.random() * (pauseMax - pauseMin + 1) + pauseMin)); | setTimeout(typeItt, ~~(Math.random() * (pauseMax - pauseMin + 1) + pauseMin)); | ||
− | },e.dataset.delay); | + | },e.dataset.delay);qsa("[data-typer]").length>1?setTimeout(function(){e.removeAttribute("data-typer");cht=0},qsa("[data-typer]")[1].dataset.delay-10); |
}); | }); | ||
</script> | </script> |
Revision as of 19:46, 30 October 2017