mirror of
https://github.com/wahyd4/docsify.git
synced 2026-08-09 05:16:06 +10:00
fix: disqus plugin issue (#318)
* fix issue disqus plugin issue fix #317, disqus plugin make page refresh continuously. * Update disqus.js
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
location.href = location.href.replace('/-/', '/#/')
|
||||
const fixedPath = location.href.replace('/-/', '/#/')
|
||||
if (fixedPath != location.href) {
|
||||
location.href = fixedPath
|
||||
}
|
||||
|
||||
function install (hook, vm) {
|
||||
const dom = Docsify.dom
|
||||
|
||||
Reference in New Issue
Block a user