summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramzrk22020-04-15 15:52:31 +0800
committeramzrk22020-04-15 15:52:31 +0800
commitedb8d453c866afcfc841e744535015f6d139a7cd (patch)
tree964f8421d3d6b60eb9edb75e9f7e1c66b121f362
parent6c176d20643de268faa432adfa3e95b2b8217cb0 (diff)
downloadhugo-theme-fuji-edb8d453c866afcfc841e744535015f6d139a7cd.tar.gz
hugo-theme-fuji-edb8d453c866afcfc841e744535015f6d139a7cd.tar.bz2
hugo-theme-fuji-edb8d453c866afcfc841e744535015f6d139a7cd.zip
Fix comment loading progress
-rw-r--r--layouts/partials/scripts.html2
1 files changed, 1 insertions, 1 deletions
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('评论区加载失败');