From 348196fbcc719e916d405b78fac2149614434837 Mon Sep 17 00:00:00 2001 From: HikeMap User Date: Wed, 31 Dec 2025 22:45:35 -0600 Subject: [PATCH] Fix admin panel close button not working MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fixed selector to use correct ID 'adminCloseBtn' - Close button now properly dismisses overlay and returns to edit mode 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 6279338..d3f961e 100644 --- a/index.html +++ b/index.html @@ -5904,7 +5904,7 @@ document.getElementById('adminTab').addEventListener('click', () => switchTab('admin')); // Admin overlay close button - const adminCloseBtn = document.querySelector('.admin-panel-overlay .close-btn'); + const adminCloseBtn = document.getElementById('adminCloseBtn'); if (adminCloseBtn) { adminCloseBtn.addEventListener('click', () => { const adminOverlay = document.querySelector('.admin-panel-overlay');