From ab5b3f317e34c931999ebdb0a192894581036041 Mon Sep 17 00:00:00 2001 From: Wayne <54445994+Waynenet@users.noreply.github.com> Date: Thu, 23 Jun 2022 22:44:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=A7=BB=E5=8A=A8=E7=AB=AF?= =?UTF-8?q?=E9=9F=B3=E9=87=8F=E8=B0=83=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复移动端音量调节 --- js/music.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/music.js b/js/music.js index b0e4308..7e37135 100644 --- a/js/music.js +++ b/js/music.js @@ -117,7 +117,7 @@ $.ajax({ }); //音量调节 - $("#volume").on('click', function () { + $("#volume").on('click touchend', function () { var x = $("#volume").val(); ap.volume(x, true); if (x == 0) { @@ -141,4 +141,4 @@ $.ajax({ }); }, 3800); } -}) \ No newline at end of file +})