From 7b9cafeed2fb66f94f40eb1a2ce926ed93c93e61 Mon Sep 17 00:00:00 2001 From: Tomas Dvorak Date: Wed, 28 May 2025 12:53:23 +0200 Subject: [PATCH] r --- admin-dashboard.html | 5 ----- 1 file changed, 5 deletions(-) diff --git a/admin-dashboard.html b/admin-dashboard.html index c5da33d..8dcf848 100644 --- a/admin-dashboard.html +++ b/admin-dashboard.html @@ -1654,15 +1654,10 @@ document.addEventListener('DOMContentLoaded', () => { const position = btn.dataset.position; currentImagePosition = position; - // Update hidden input field - document.getElementById('imagePosition').value = position; - // Reset position values if not custom if (position !== 'custom') { currentImageX = '0'; currentImageY = '0'; - document.getElementById('imagePositionX').value = '0'; - document.getElementById('imagePositionY').value = '0'; } // Update active button styling