Skip to content

Commit 0e693fc

Browse files
committed
chore: tweaks code
1 parent 041b33e commit 0e693fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugins/disqus.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const fixedPath = location.href.replace('/-/', '/#/')
2-
if (fixedPath != location.href) {
2+
if (fixedPath !== location.href) {
33
location.href = fixedPath
44
}
55

0 commit comments

Comments
 (0)