From b4157f07dd2ccc0b3457a86175214f88077c7d37 Mon Sep 17 00:00:00 2001 From: hellcat <> Date: Wed, 31 Dec 2025 14:23:13 +0800 Subject: [PATCH] no message --- public/theme/cool/assets/js/auth.js | 4 ++-- resources/views/tabler/auth/register.tpl | 2 +- resources/views/tabler/password/reset.tpl | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/public/theme/cool/assets/js/auth.js b/public/theme/cool/assets/js/auth.js index 27b66dc9d..745c810c4 100644 --- a/public/theme/cool/assets/js/auth.js +++ b/public/theme/cool/assets/js/auth.js @@ -139,7 +139,7 @@ $("#email_verify").click(function() { if (ajaxPending) return; ajaxPending = true; let sTextOld = $(this).text(); - $(this).text('正在发送...').prop('disabled', true); +// $(this).text('正在发送...').prop('disabled', true); // 定义邮箱后缀黑名单 var blacklistedDomains = ["@10minutemail.com","@10minemail.com","@sharklasers.com","@guerrillamail.com","@spam4.me","@mailinator.com","@mailinator.net","@yopmail.com","@yopmail.fr","@yopmail.net","@temp-mail.org","@mytemp.email","@disposable.com","@throwawaymail.com","@jourrapide.com","@armyspy.com","@rhyta.com","@getnada.com","@nada.email","@mohmal.com","@trashmail.com","@trashmail.me","@burnermail.io","@emailondeck.com","@minutemailbox.com","@mailsac.com","@maildrop.cc","@spamgourmet.com","@neverbox.com","@email.ml","@hele.win","@uxin.tech","@smail.pw","@vmail.dev","@idu.one","@mail.tm","@mail.gw","@mail.td","@linshiyou.com","@22.do","@smailpro.com","@emailnator.com","@gmail.inputekno.com","@linshiyouxiang.net","@tempmail.altmails.com","@tempmailbox.net","@spambox.xyz","@mailgolem.com","@mailpoof.com","@crazymailing.com","@edumail.icu","@etempmail.com","@linshi-email.com","@mail.xiuvi.cn","@ihotmails.com","@dreamhunter2333.xyz","@mail.cx","@awsl.uk","@linshiyouxiang.net"]; @@ -169,6 +169,7 @@ $("#email_verify").click(function() { time($("#email_verify")); } else { Swal.fire('操作失败', data.msg, 'error'); +// $("#email_verify").text(sTextOld).prop('disabled', false); } }, error: (jqXHR) => { @@ -177,7 +178,6 @@ $("#email_verify").click(function() { }); }, complete: function() { - $("#email_verify").text(sTextOld).prop('disabled', false); ajaxPending = false; } }) diff --git a/resources/views/tabler/auth/register.tpl b/resources/views/tabler/auth/register.tpl index 3903854f7..ac03b8a5c 100644 --- a/resources/views/tabler/auth/register.tpl +++ b/resources/views/tabler/auth/register.tpl @@ -155,7 +155,7 @@ - + diff --git a/resources/views/tabler/password/reset.tpl b/resources/views/tabler/password/reset.tpl index baa7a132a..d99390e0e 100644 --- a/resources/views/tabler/password/reset.tpl +++ b/resources/views/tabler/password/reset.tpl @@ -100,7 +100,7 @@ - +