Skip to content

Commit

Permalink
Update sidebar.js
Browse files Browse the repository at this point in the history
  • Loading branch information
sy-records authored Aug 26, 2020
1 parent e124c0b commit 45bd355
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/event/sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ export function getAndActive(router, el, isParent, autoTitle) {
dom.toggleClass(node, 'remove', 'active');
}
});

if (autoTitle) {
dom.$.title = target
? target.title || `${target.innerText} - ${title}`
Expand Down

0 comments on commit 45bd355

Please sign in to comment.