[build] 4.8.6
This commit is contained in:
parent
4db8cd6abf
commit
a07a613312
7 changed files with 8 additions and 8 deletions
|
|
@ -3571,7 +3571,7 @@ Compiler.prototype._initRenderer = function _initRenderer () {
|
|||
}
|
||||
href = router.toURL(href, null, router.getCurrentPath());
|
||||
} else {
|
||||
attrs += href.startsWith('mailto:') ? '' : (" target=\"" + linkTarget + "\"");
|
||||
attrs += href.indexOf('mailto:') === 0 ? '' : (" target=\"" + linkTarget + "\"");
|
||||
}
|
||||
|
||||
if (config.target) {
|
||||
|
|
@ -5013,7 +5013,7 @@ function initGlobalAPI () {
|
|||
dom: dom,
|
||||
get: get,
|
||||
slugify: slugify,
|
||||
version: '4.8.5'
|
||||
version: '4.8.6'
|
||||
};
|
||||
window.DocsifyCompiler = Compiler;
|
||||
window.marked = marked;
|
||||
|
|
|
|||
2
lib/docsify.min.js
vendored
2
lib/docsify.min.js
vendored
File diff suppressed because one or more lines are too long
|
|
@ -17,7 +17,7 @@ function escapeHtml(string) {
|
|||
function getAllPaths(router) {
|
||||
var paths = [];
|
||||
|
||||
document.querySelectorAll('.sidebar-nav a:not(.section-link):not([data-nosearch])').forEach(function (node) {
|
||||
Docsify.dom.findAll('.sidebar-nav a:not(.section-link):not([data-nosearch])').forEach(function (node) {
|
||||
var href = node.href;
|
||||
var originHref = node.getAttribute('href');
|
||||
var path = router.parse(href).path;
|
||||
|
|
|
|||
2
lib/plugins/search.min.js
vendored
2
lib/plugins/search.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue