增强友联可扩展性
This commit is contained in:
1 parent
5ce12576c7
commit
e32ca6759d
20 files changed
+632
-383
No files matched your search
@@ -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';
|
||||
|
||||
Reference in new issue
Block a user