From df50d28a503285f7d64ff654a62ccdf6f7eb3af7 Mon Sep 17 00:00:00 2001 From: mic Date: Sun, 6 Apr 2025 14:32:49 +0200 Subject: [PATCH] Focus custom text area when displayed in the chat interface. Fixes #323 --- js/mzta-chatgpt.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/mzta-chatgpt.js b/js/mzta-chatgpt.js index 43379f5e..9325e146 100644 --- a/js/mzta-chatgpt.js +++ b/js/mzta-chatgpt.js @@ -375,6 +375,7 @@ function checkLoggedIn(){ function showCustomTextField(){ document.getElementById('mzta-custom_text').style.display = 'block'; + document.getElementById('mzta-custom_textarea').focus(); } async function doProceed(message, customText = ''){