diff --git a/app/static/js/view-modal.js b/app/static/js/view-modal.js index 2934da6..ba333ed 100644 --- a/app/static/js/view-modal.js +++ b/app/static/js/view-modal.js @@ -811,14 +811,6 @@ document.addEventListener('DOMContentLoaded', () => { modal.classList.add('active'); updateImage(index); history.replaceState({ modalIndex: index }, '', window.location.href); - // Desktop only — skip on touch devices to avoid popping the on-screen keyboard - if (tagInput && !isTouchDevice()) { - setTimeout(() => tagInput.focus(), 100); - } - } - - function isTouchDevice() { - return ('ontouchstart' in window) || (navigator.maxTouchPoints > 0); } function closeModal() {