Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b34a937 commit 041b33eCopy full SHA for 041b33e
src/plugins/disqus.js
@@ -1,4 +1,7 @@
1
-location.href = location.href.replace('/-/', '/#/')
+const fixedPath = location.href.replace('/-/', '/#/')
2
+if (fixedPath != location.href) {
3
+ location.href = fixedPath
4
+}
5
6
function install (hook, vm) {
7
const dom = Docsify.dom
0 commit comments