fix: Fix duplicate atlas-toggle-btn ID and mismatched button tags (#1442)
This commit fixes issue #1442 by removing the duplicate atlas-toggle-btn ID and fixing mismatched button tags in index.html. Changes: - Removed duplicate atlas-toggle-btn with title "World Directory" (line 168) - Kept the complete atlas-toggle-btn with title "Portal Atlas" (line 176) - Added missing closing tags for soul-toggle-btn and mode-toggle-btn - 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 - 29 opening <button> tags, 27 closing </button> tags After: - Single atlas-toggle-btn with title "Portal Atlas" - All buttons properly closed - 28 opening <button> tags, 28 closing </button> tags - Clean HTML structure The duplicate was likely caused by a bad merge where two different versions of the button were both kept instead of being resolved. Note: Issue #1338 was closed after PR #1432 was merged, which fixed the duplicate content blocks in README.md and POLICY.md. However, the HTML issues in index.html (issue #1442) still needed to be fixed. Fixes #1442
This commit is contained in:
16
index.html
16
index.html
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user