Skip to content

Commit 0e693fc

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/plugins/disqus.js

Lines changed: 1 addition & 1 deletion
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)