guoziyun před 10 měsíci
rodič
revize
cd56b84732
1 změnil soubory, kde provedl 13 přidání a 12 odebrání
  1. 13 12
      views/v2/share.ejs

+ 13 - 12
views/v2/share.ejs

@@ -439,18 +439,19 @@
 
       }
 
-      // 为 Claim Bonus 按钮添加防重复点击逻辑(可选)
-      const claimButton = document.querySelector('.btn-primary');
-      if (claimButton) {
-        claimButton.addEventListener('click', function (e) {
-          // 只有在没有 check 参数时才允许跳转(避免循环跳转)
-          if (!hasCheckParam) {
-            // 可添加加载状态
-            this.textContent = 'Launching...';
-            this.disabled = true;
-          }
-        });
-      }
+      // // 为 Color Now 按钮添加防重复点击逻辑(可选)
+      // const colorNowButton = document.querySelector('.btn-primary');
+      // if (colorNowButton) {
+      //   colorNowButton.addEventListener('click', function (e) {
+      //     // 只有在没有 check 参数时才允许跳转(避免循环跳转)
+      //     if (!hasCheckParam) {
+      //       // 可添加加载状态
+      //       this.textContent = 'Launching...';
+      //       this.disabled = true;
+      //     }
+      //   });
+      // }
+
     });