Skip to content

Commit

Permalink
Sidebar links no longer open in a new tab, closes #2353.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrit0 committed Aug 20, 2023
1 parent 3207ae5 commit 0cc6e58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
- Fixed duplicate namespace in documentation if `@namespace` is used on a variable with an associated namespace, #2364.
- Fixed `@namespace` property discovery if merged with a type and the type was declared first #2364.
- Tables in markdown are now styled, #2366.
- Sidebar links no longer open in a new tab, #2353.
- Symbol locations for signatures on `reflection.sources` now considers the node's name like non-signature location discovery does.

### Thanks!
Expand Down
4 changes: 1 addition & 3 deletions src/lib/output/themes/default/partials/navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@ export function sidebarLinks(context: DefaultThemeRenderContext) {
return (
<nav id="tsd-sidebar-links" class="tsd-navigation">
{links.map(([label, url]) => (
<a href={url} target="_blank">
{label}
</a>
<a href={url}>{label}</a>
))}
</nav>
);
Expand Down

0 comments on commit 0cc6e58

Please sign in to comment.