From edb8d453c866afcfc841e744535015f6d139a7cd Mon Sep 17 00:00:00 2001 From: amzrk2 Date: Wed, 15 Apr 2020 15:52:31 +0800 Subject: Fix comment loading progress --- layouts/partials/scripts.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts/partials/scripts.html') diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html index db67ca5..5138899 100644 --- a/layouts/partials/scripts.html +++ b/layouts/partials/scripts.html @@ -21,7 +21,7 @@ commentStatus = $('#post-comment .utterances').attr('style'); if (commentStatus === undefined) { commentLoadingTime += 1; - if (commentLoadingTime > 16) { + if (commentLoadingTime > 20) { clearInterval(commentCheckInterval); $('#post-comment').hide(); $('#post-loading p').text('评论区加载失败'); -- cgit v1.2.3