mirror of
https://github.com/zhigang1992/docsify.git
synced 2026-04-23 21:00:06 +08:00
[build] 4.3.11
This commit is contained in:
@@ -3644,7 +3644,9 @@ var HashHistory = (function (History$$1) {
|
||||
path = path.replace(/\.md(\?)|\.md$/, '$1');
|
||||
|
||||
if (local) {
|
||||
path = currentRoute.substr(0, currentRoute.indexOf('?')) + path;
|
||||
var idIndex = currentRoute.indexOf('?');
|
||||
path =
|
||||
(idIndex > 0 ? currentRoute.substr(0, idIndex) : currentRoute) + path;
|
||||
}
|
||||
|
||||
return cleanPath('#/' + path)
|
||||
@@ -3981,7 +3983,7 @@ initGlobalAPI();
|
||||
/**
|
||||
* Version
|
||||
*/
|
||||
Docsify.version = '4.3.10';
|
||||
Docsify.version = '4.3.11';
|
||||
|
||||
/**
|
||||
* Run Docsify
|
||||
|
||||
Reference in New Issue
Block a user