From 6a3f5315c7b026a64e6e20ffdb8b7c33d2d98a65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BA=95=E5=B1=82=E7=94=A8=E6=88=B7?= Date: Fri, 19 Aug 2022 15:29:25 +0800 Subject: [PATCH] =?UTF-8?q?=E9=BC=A0=E6=A0=87=E4=B8=AD=E9=94=AE=E7=82=B9?= =?UTF-8?q?=E5=87=BB=E4=BA=8B=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/main.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/js/main.js b/js/main.js index 83ab931..127c294 100644 --- a/js/main.js +++ b/js/main.js @@ -149,6 +149,12 @@ $(".sou-button").click(function () { } }); +$(window).mousedown(function (event) { + if (event.button == 1) { + $("#time_text").click(); + } +}); + //控制台输出 var styleTitle1 = ` font-size: 20px;