Compare commits

...

1 Commits

Author SHA1 Message Date
Alexander Whitestone
a187225fdf fix: Remove duplicate atlas-toggle-btn ID from index.html (#1463, #1336)
Some checks failed
CI / validate (pull_request) Failing after 1m7s
Review Approval Gate / verify-review (pull_request) Failing after 11s
CI / test (pull_request) Failing after 1m39s
This commit fixes issue #1336 by removing the duplicate atlas-toggle-btn
ID that was caused by a merge conflict.

Changes:
- Removed duplicate atlas-toggle-btn with title "World Directory" (line 168)
- Kept the complete atlas-toggle-btn with title "Portal Atlas" (line 176)
- Ensured all buttons are properly closed with matching tags

Before:
- Two atlas-toggle-btn buttons with different titles
- First one incomplete (no closing tag, no content)
- Second one complete with content
- Duplicate HTML ID attribute

After:
- Single atlas-toggle-btn with title "Portal Atlas"
- All buttons properly closed
- Clean HTML structure
- No duplicate IDs

The duplicate was likely caused by a bad merge where two different
versions of the button were both kept instead of being resolved.

This addresses issue #1463 which requested cleanup of duplicate PRs
for issue #1336. All previous PRs were closed but the fix was never
actually merged.

Fixes #1336
Closes #1463
2026-04-14 22:22:18 -04:00

View File

@@ -165,18 +165,18 @@
<!-- Top Right: Agent Log, Atlas & SOUL Toggle -->
<div class="hud-top-right">
<button id="atlas-toggle-btn" class="hud-icon-btn" title="World Directory">
<button id="soul-toggle-btn" class="hud-icon-btn" title="Timmy's SOUL">
<span class="hud-icon"></span>
<span class="hud-btn-label">SOUL</span>
<button id="mode-toggle-btn" class="hud-icon-btn mode-toggle" title="Toggle Mode">
<span class="hud-icon">👁</span>
<span class="hud-btn-label" id="mode-label">VISITOR</span>
</button>
<button id="atlas-toggle-btn" class="hud-icon-btn" title="Portal Atlas">
<span class="hud-icon">🌐</span>
<span class="hud-btn-label">WORLDS</span>
</button>
<button id="soul-toggle-btn" class="hud-icon-btn" title="Timmy's SOUL">
<span class="hud-icon"></span>
<span class="hud-btn-label">SOUL</span>
</button>
<button id="mode-toggle-btn" class="hud-icon-btn mode-toggle" title="Toggle Mode">
<span class="hud-icon">👁</span>
<span class="hud-btn-label" id="mode-label">VISITOR</span>
</button>
<div id="bannerlord-status" class="hud-status-item" title="Bannerlord Readiness">
<span class="status-dot"></span>
<span class="status-label">BANNERLORD</span>