增强友联可扩展性

This commit is contained in:
小赵同学 committed 2024-07-12 18:28:07 +08:00
1 parent 5ce12576c7
commit e32ca6759d
20 files changed
+632 -383

No files matched your search

+7 -2
View File
@@ -89,7 +89,7 @@
<script type="text/javascript">
$(document).ready(function () {
var currentPath = "\/post\/my-second-post\/";
currentPath = "\/post\/my-second-post\/";
fetchCommentsAndCreateBarrager(currentPath, {
@@ -126,7 +126,12 @@
<script src="/js/main.js"></script>
<script src="/js/mypjax.js"></script>
<script src="/js/nprogress.js"></script>
<script>var currentPath = "\/post\/my-second-post\/";</script>
<script>
var currentPath = "\/post\/my-second-post\/";
document.addEventListener("pjax:send", function () {
var currentPath = "\/post\/my-second-post\/";
});
</script>
<script type="module">
import { init as walineInit } from 'https://unpkg.com/@waline/client@v3/dist/waline.js';