We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12c2451 commit abe028bCopy full SHA for abe028b
packages/gitbook/src/components/primitives/Link.tsx
@@ -89,7 +89,7 @@ export const Link = React.forwardRef(function Link(
89
if (isInIframe && isExternalWithOrigin) {
90
event.preventDefault();
91
window.open(href, '_blank', 'noopener noreferrer');
92
- } else {
+ } else if (isExternal) {
93
// The external logic server-side is limited
94
// so we use the client-side logic to determine the real target
95
// by default the target is "_self".
0 commit comments