Skip to content

Commit

Permalink
[build] 4.8.6
Browse files Browse the repository at this point in the history
  • Loading branch information
QingWei-Li committed Nov 12, 2018
1 parent 4db8cd6 commit a07a613
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docs/_coverpage.md
@@ -1,6 +1,6 @@
![logo](_media/icon.svg)

# docsify <small>4.8.5</small>
# docsify <small>4.8.6</small>

> A magical documentation site generator.
Expand Down
4 changes: 2 additions & 2 deletions lib/docsify.js
Expand Up @@ -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) {
Expand Down Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion lib/docsify.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/plugins/search.js
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion lib/plugins/search.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/docsify-server-renderer/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/docsify-server-renderer/package.json
@@ -1,6 +1,6 @@
{
"name": "docsify-server-renderer",
"version": "4.8.5",
"version": "4.8.6",
"description": "docsify server renderer",
"author": {
"name": "qingwei-li",
Expand Down

0 comments on commit a07a613

Please sign in to comment.