Skip to content

Commit

Permalink
Merge branch 'develop' into fix-typo
Browse files Browse the repository at this point in the history
  • Loading branch information
sy-records authored Aug 27, 2020
2 parents 70cdd67 + 2100fc3 commit 6c6cad3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/event/sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export function getAndActive(router, el, isParent, autoTitle) {
const href = a.getAttribute('href');
const node = isParent ? a.parentNode : a;

a.title = a.innerText;
a.title = a.title || a.innerText;

if (hash.indexOf(href) === 0 && !target) {
target = a;
Expand Down

0 comments on commit 6c6cad3

Please sign in to comment.