This commit is contained in:
杜恒 2021-02-22 09:16:54 +08:00
parent a8a2f3e2ff
commit be500fbfa7
3 changed files with 5 additions and 2 deletions

View File

@ -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');
}

View File

@ -3,7 +3,7 @@
/* 获取主题当前版本号 */
function _getVersion()
{
return "5.3.7";
return "5.3.8";
};
/* 判断是否是手机 */

View File

@ -248,7 +248,8 @@ function themeConfig($form)
NULL,
NULL,
'网页被隐藏时显示的标题',
'介绍在PC端切换网页标签时网站标题显示的内容。如果不填写则默认不开启'
'介绍在PC端切换网页标签时网站标题显示的内容。如果不填写则默认不开启 <br />
注意:严禁加单引号或双引号!!!否则会导致网站出错!!'
);
$JDocumentTitle->setAttribute('class', 'joe_content joe_global');
$form->addInput($JDocumentTitle);