diff --git a/assets/js/joe.global.js b/assets/js/joe.global.js index 100e0bc..cba1e0b 100644 --- a/assets/js/joe.global.js +++ b/assets/js/joe.global.js @@ -330,6 +330,7 @@ document.addEventListener('DOMContentLoaded', () => { } if (isSubmit) return; isSubmit = true; + $('.joe_comment__respond-form .foot .submit button').html('发送中...'); $.ajax({ url, type: 'POST', @@ -344,6 +345,7 @@ document.addEventListener('DOMContentLoaded', () => { if (!/Joe/.test(res)) { Qmsg.warning(str.textContent.trim() || ''); isSubmit = false; + $('.joe_comment__respond-form .foot .submit button').html('发表评论'); } else { window.location.href = changeURLArg(location.href, 'scroll', 'joe_comment'); } diff --git a/core/function.php b/core/function.php index d55a365..b1c5a14 100644 --- a/core/function.php +++ b/core/function.php @@ -3,7 +3,7 @@ /* 获取主题当前版本号 */ function _getVersion() { - return "5.3.7"; + return "5.3.8"; }; /* 判断是否是手机 */ diff --git a/functions.php b/functions.php index 5542809..ba4bfaf 100644 --- a/functions.php +++ b/functions.php @@ -248,7 +248,8 @@ function themeConfig($form) NULL, NULL, '网页被隐藏时显示的标题', - '介绍:在PC端切换网页标签时,网站标题显示的内容。如果不填写,则默认不开启' + '介绍:在PC端切换网页标签时,网站标题显示的内容。如果不填写,则默认不开启
+ 注意:严禁加单引号或双引号!!!否则会导致网站出错!!' ); $JDocumentTitle->setAttribute('class', 'joe_content joe_global'); $form->addInput($JDocumentTitle);