From 2e2c080df4cf499f92ad44a9cb0613a65ca2ca94 Mon Sep 17 00:00:00 2001 From: olcxja Date: Wed, 3 Jun 2026 01:03:02 +0200 Subject: [PATCH] Forgot to fix keyboard --- android/app/src/main/assets/public/main.js | 2 +- webroot/main.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/android/app/src/main/assets/public/main.js b/android/app/src/main/assets/public/main.js index 4bcaa9e1..e9b48c31 100644 --- a/android/app/src/main/assets/public/main.js +++ b/android/app/src/main/assets/public/main.js @@ -1729,7 +1729,7 @@ document.addEventListener('touchend', e => { if (!touchMoved) { if (activeTouchButton.tagName !== 'INPUT' && activeTouchButton.tagName !== 'TEXTAREA') { - if (document.activeElement && document.activeElement.tagName === 'INPUT' && document.activeElement.tagName === 'TEXTAREA') { + if (document.activeElement && (document.activeElement.tagName === 'INPUT' || document.activeElement.tagName === 'TEXTAREA')) { document.activeElement.blur(); } diff --git a/webroot/main.js b/webroot/main.js index 4bcaa9e1..e9b48c31 100644 --- a/webroot/main.js +++ b/webroot/main.js @@ -1729,7 +1729,7 @@ document.addEventListener('touchend', e => { if (!touchMoved) { if (activeTouchButton.tagName !== 'INPUT' && activeTouchButton.tagName !== 'TEXTAREA') { - if (document.activeElement && document.activeElement.tagName === 'INPUT' && document.activeElement.tagName === 'TEXTAREA') { + if (document.activeElement && (document.activeElement.tagName === 'INPUT' || document.activeElement.tagName === 'TEXTAREA')) { document.activeElement.blur(); }