Skip to content

Commit 8cf6975

Browse files
committed
[build] 4.1.4
1 parent 79a83bc commit 8cf6975

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/docsify.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2741,7 +2741,7 @@ function getPath () {
27412741
}
27422742

27432743
var isAbsolutePath = cached(function (path) {
2744-
return /(:|(\/{2}))/.test(path)
2744+
return /(:|(\/{2}))/g.test(path)
27452745
});
27462746

27472747
var getParentPath = cached(function (path) {

0 commit comments

Comments
 (0)