Commit 14c56dc1 by kaisa

feat:优化火箭升空音效

parent 23b9508b
Showing with 3 additions and 4 deletions
......@@ -696,13 +696,12 @@
.removeClass("n0 n1 n2 n3 n4 n5 n6 n7 n8 n9")
.addClass("n" + numArr[1] + "");
layer.msg(numArr[1]);
if (numArr[1] == 0 && numArr[1] <= 3) {
if (Number(numArr[0] === 0) && Number(numArr[1]) <= 3) {
layer.msg(numArr[1]);
// 倒计时3s的时候播放倒计时音效
clock();
}
$(".go-btn")
.unbind("click")
.on("click", function () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment