fix(v2): tool links open in new tab (target=_blank)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Erik 2026-04-14 11:57:00 +02:00
parent 17f4d4b2aa
commit 1e125f7653
4 changed files with 6 additions and 6 deletions

View file

@ -80,9 +80,9 @@ export const Sidebar: React.FC<Props> = ({
{/* Tool links */}
<div className="ml-tool-links">
<span className="ml-tool-link" style={{ cursor: 'pointer' }} onClick={onViewToggle}>📊 Dashboard</span>
<a href="/inventory.html" className="ml-tool-link">🔍 Inv Search</a>
<a href="/suitbuilder.html" className="ml-tool-link">🛡 Suitbuilder</a>
<a href="/debug.html" className="ml-tool-link">🐛 Debug</a>
<a href="/inventory.html" target="_blank" className="ml-tool-link">🔍 Inv Search</a>
<a href="/suitbuilder.html" target="_blank" className="ml-tool-link">🛡 Suitbuilder</a>
<a href="/debug.html" target="_blank" className="ml-tool-link">🐛 Debug</a>
<a href="/quest-status.html" target="_blank" className="ml-tool-link">📜 Quests</a>
</div>
<SidebarWindowButtons />

File diff suppressed because one or more lines are too long

View file

@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Mosswart Overlord v2</title>
<link rel="icon" type="image/png" href="/icons/7735.png" />
<script type="module" crossorigin src="/v2/assets/index-CIKuZxvT.js"></script>
<script type="module" crossorigin src="/v2/assets/index-CzlYVWmV.js"></script>
<link rel="stylesheet" crossorigin href="/v2/assets/index-CyLyPOVJ.css">
</head>
<body>