Skip to content

Commit 6c6cad3

Browse files
authored
Merge branch 'develop' into fix-typo
2 parents 70cdd67 + 2100fc3 commit 6c6cad3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/event/sidebar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export function getAndActive(router, el, isParent, autoTitle) {
8686
const href = a.getAttribute('href');
8787
const node = isParent ? a.parentNode : a;
8888

89-
a.title = a.innerText;
89+
a.title = a.title || a.innerText;
9090

9191
if (hash.indexOf(href) === 0 && !target) {
9292
target = a;

0 commit comments

Comments
 (0)