From d1584c1332edcf9e897181732f5f291cad7f2e98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E8=B5=B5=E5=90=8C=E5=AD=A6?= <94612053+imzql@users.noreply.github.com> Date: Fri, 12 Jul 2024 16:35:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=BC=B9=E5=B9=95=E4=B8=BA?= =?UTF-8?q?=E5=BC=82=E6=AD=A5=E8=AF=B7=E6=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/post/demo01/index.html | 2 +- public/post/demo03/index.html | 2 +- public/post/my-first-post/index.html | 2 +- public/post/my-second-post/index.html | 2 +- themes/Ying/layouts/_default/single.html | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/public/post/demo01/index.html b/public/post/demo01/index.html index 08e9b115..2305401a 100644 --- a/public/post/demo01/index.html +++ b/public/post/demo01/index.html @@ -93,7 +93,7 @@ var currentPath = "\/post\/demo01\/"; - $.ajaxSettings.async = false; + $.ajaxSettings.async = true; $.getJSON('https://waline.usj.cc/api/comment?path=' + encodeURIComponent(currentPath), function(response) { var data = response.data.data; console.log(data); diff --git a/public/post/demo03/index.html b/public/post/demo03/index.html index 87937b09..4a8690dc 100644 --- a/public/post/demo03/index.html +++ b/public/post/demo03/index.html @@ -95,7 +95,7 @@ var currentPath = "\/post\/demo03\/"; - $.ajaxSettings.async = false; + $.ajaxSettings.async = true; $.getJSON('https://waline.usj.cc/api/comment?path=' + encodeURIComponent(currentPath), function(response) { var data = response.data.data; console.log(data); diff --git a/public/post/my-first-post/index.html b/public/post/my-first-post/index.html index 6779a084..db77d41f 100644 --- a/public/post/my-first-post/index.html +++ b/public/post/my-first-post/index.html @@ -92,7 +92,7 @@ var currentPath = "\/post\/my-first-post\/"; - $.ajaxSettings.async = false; + $.ajaxSettings.async = true; $.getJSON('https://waline.usj.cc/api/comment?path=' + encodeURIComponent(currentPath), function(response) { var data = response.data.data; console.log(data); diff --git a/public/post/my-second-post/index.html b/public/post/my-second-post/index.html index 97e22ffe..3fc78257 100644 --- a/public/post/my-second-post/index.html +++ b/public/post/my-second-post/index.html @@ -92,7 +92,7 @@ var currentPath = "\/post\/my-second-post\/"; - $.ajaxSettings.async = false; + $.ajaxSettings.async = true; $.getJSON('https://waline.usj.cc/api/comment?path=' + encodeURIComponent(currentPath), function(response) { var data = response.data.data; console.log(data); diff --git a/themes/Ying/layouts/_default/single.html b/themes/Ying/layouts/_default/single.html index 55c78511..c2463588 100644 --- a/themes/Ying/layouts/_default/single.html +++ b/themes/Ying/layouts/_default/single.html @@ -29,7 +29,7 @@ var currentPath = "{{ .RelPermalink }}"; // 动态获取评论并发布弹幕 - $.ajaxSettings.async = false; + $.ajaxSettings.async = true; $.getJSON('https://waline.usj.cc/api/comment?path=' + encodeURIComponent(currentPath), function(response) { var data = response.data.data; console.log(data);