Line 105: | Line 105: | ||
ch = 0, cht = 0; | ch = 0, cht = 0; | ||
(function typeIt() { | (function typeIt() { | ||
− | if (ch > | + | if (ch > qsa("[data-typer]")[0].dataset.typer.length)return; |
if(qsa("[data-typer]")[0].dataset.typer[ch]!="<") | if(qsa("[data-typer]")[0].dataset.typer[ch]!="<") | ||
qsa("[data-typer]")[0].innerHTML = qsa("[data-typer]")[0].dataset.typer.substring(0, ch++); | qsa("[data-typer]")[0].innerHTML = qsa("[data-typer]")[0].dataset.typer.substring(0, ch++); |
Revision as of 18:47, 30 October 2017