fix toolbar tooltips on android

This commit is contained in:
ed 2021-06-18 22:11:01 +02:00
parent c50f1b64e5
commit 51d14a6b4d

View file

@ -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');