mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-10-04 14:22:01 +08:00
fix: 修復 pjax 下, waline js 會重複加載的 bug
This commit is contained in:
1 parent
9a3b41912a
commit
929a5608d3
12 files changed
+59
-45
No files matched your search
+1
-1
@@ -64,7 +64,7 @@ script.
|
||||
})
|
||||
}
|
||||
|
||||
if (typeof Waline === 'function') loadWaline()
|
||||
if (typeof Waline === 'object') loadWaline()
|
||||
else getScript('!{url_for(theme.asset.waline_js)}').then(loadWaline)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user