Commit 80f16cae by doszhang

dos

parent a4ae4105
......@@ -58,11 +58,10 @@ preloadimages(preloadImageList, function () {
// alert(key);
// }
// })
setInterval(function () {
$('#music')[0].play();
}, 100)
// setInterval(function () {
// $('#music')[0].play();
// }, 100)
if (browser.versions.weixin) {
alert($('#music')[0]);
// let musicTime = setInterval(function () {
// if ($('#music')[0].currentTime > 0) {
......@@ -397,6 +396,7 @@ function setCustomizeVal() {
}
function toggleMusic() {
alert($('#music')[0].paused);
if ($('#music')[0].paused) {
$('#music')[0].play();
$('.music.stop').hide();
......
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