From 51d14a6b4da7db2c1a9d82dddf205b4b3c0e97ef Mon Sep 17 00:00:00 2001 From: ed Date: Fri, 18 Jun 2021 22:11:01 +0200 Subject: [PATCH] fix toolbar tooltips on android --- copyparty/web/util.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/copyparty/web/util.js b/copyparty/web/util.js index a3ca8481..59e9d688 100644 --- a/copyparty/web/util.js +++ b/copyparty/web/util.js @@ -302,7 +302,7 @@ function opclick(e) { swrite('opmode', dest || null); var input = QS('.opview.act input:not([type="hidden"])') - if (input) + if (input && !is_touch) input.focus(); } @@ -533,7 +533,7 @@ function hist_replace(url) { var tt = (function () { var r = { "tt": mknod("div"), - "en": bcfg_get('tooltips', true), + "en": bcfg_get('tooltips', true) }; r.tt.setAttribute('id', 'tt');