skip logo.png onclick

This commit is contained in:
ckcz123 2019-10-29 19:50:13 +08:00
parent cec0abdb9e
commit 5100f39161
2 changed files with 2 additions and 0 deletions

View File

@ -36,6 +36,8 @@
startImageDiv.addEventListener("animationend", onAnimationEnd); startImageDiv.addEventListener("animationend", onAnimationEnd);
startImageLogo.classList.add("startImageAnimation"); startImageLogo.classList.add("startImageAnimation");
startImageDiv.classList.add("startImageDivAnimation"); startImageDiv.classList.add("startImageDivAnimation");
// 注释下面这句话以禁止单击立刻跳过开场动画
startImageBackgroundDiv.onclick = onAnimationEnd;
} }
startImageLogo.onerror = function () {} startImageLogo.onerror = function () {}
startImageLogo.src = "logo.png"; startImageLogo.src = "logo.png";

BIN
logo.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 10 KiB