diff --git a/adminer/static/functions.js b/adminer/static/functions.js index d443916d..ee717fa8 100644 --- a/adminer/static/functions.js +++ b/adminer/static/functions.js @@ -376,7 +376,7 @@ function selectDblClick(td, event, text) { * @return bool */ function bodyClick(event, db, ns) { - if (event.getPreventDefault ? event.getPreventDefault() : !event.returnValue) { + if (event.getPreventDefault ? event.getPreventDefault() : event.returnValue === false) { return false; } var el = event.target || event.srcElement;