diff --git a/adminer/static/functions.js b/adminer/static/functions.js index c18fe9bc..cbb89fcc 100644 --- a/adminer/static/functions.js +++ b/adminer/static/functions.js @@ -186,6 +186,9 @@ function tableClick(event, click) { click = false; } el = el.parentNode; + if (!el) { // Ctrl+click on text fields hides the element + return; + } } el = el.firstChild.firstChild; if (click) {