Skip to content

Commit bfd2bfb

Browse files
authored
Remove rel="noopener noreferrer" (#1274)
1 parent 4bd3d71 commit bfd2bfb

File tree

4 files changed

+2
-4
lines changed

4 files changed

+2
-4
lines changed

docusaurus.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ const config = {
537537
// announcementBar: {
538538
// id: 'new_version',
539539
// content:
540-
// // '<b>Announcing the release of ScalarDB X.X!🚀 For details on what\'s included in this new version, see the <a target="_self" rel="noopener noreferrer" href="/docs/latest/releases/release-notes?utm_source=docs-site&utm_medium=announcementbar">release notes</a>.<b>',
540+
// // '<b>Announcing the release of ScalarDB X.X!🚀 For details on what\'s included in this new version, see the <a target="_self" href="/docs/latest/releases/release-notes?utm_source=docs-site&utm_medium=announcementbar">release notes</a>.<b>',
541541
// backgroundColor: '#2673BB',
542542
// textColor: '#FFFFFF',
543543
// isCloseable: false,

src/components/NotificationBell.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ const NotificationBell = ({ notifications }) => {
9898
className={`notification-item ${!notification.read ? 'unread' : ''}`}
9999
onClick={(e) => handleNotificationClick(notification, e)}
100100
target={notification.isExternal ? '_blank' : '_self'}
101-
rel={notification.isExternal ? 'noopener noreferrer' : undefined}
102101
>
103102
{notification.message}
104103
</a>

src/components/Support/SupportDropdownMenu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ const SupportDropdownMenu: React.FC = () => {
104104
const handleGitHubClick = (event: MouseEvent<HTMLAnchorElement>) => {
105105
event.preventDefault();
106106
if (githubIssueUrl !== "#") {
107-
window.open(githubIssueUrl, "_blank", "noopener,noreferrer");
107+
window.open(githubIssueUrl, "_blank");
108108
} else {
109109
console.error("GitHub issue URL is not set correctly.");
110110
}

src/theme/JavadocLink.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ export default function JavadocLink({ packageName, path, className }) {
2222
<a
2323
href={`https://javadoc.io/static/com.scalar-labs/${packageName}/${docsClassName}/${path}/${className}.html`}
2424
target="_blank"
25-
rel="noopener noreferrer"
2625
>
2726
{className}
2827
</a>

0 commit comments

Comments
 (0)