修改弹幕为异步请求
This commit is contained in:
1 parent
97a889be6c
commit
d1584c1332
5 files changed
+5
-5
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user