summaryrefslogtreecommitdiff
path: root/searx/static/themes/simple
diff options
context:
space:
mode:
Diffstat (limited to 'searx/static/themes/simple')
-rw-r--r--searx/static/themes/simple/src/js/main/keyboard.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/static/themes/simple/src/js/main/keyboard.js b/searx/static/themes/simple/src/js/main/keyboard.js
index a8ab7222f..3e11f251b 100644
--- a/searx/static/themes/simple/src/js/main/keyboard.js
+++ b/searx/static/themes/simple/src/js/main/keyboard.js
@@ -32,7 +32,7 @@ searxng.ready(function () {
return resultElement && resultElement.classList.contains('result-images');
}
- searxng.on('.result', 'click', function (e) {
+ searxng.on('.result', 'mousedown', function (e) {
if (!isElementInDetail(e.target)) {
highlightResult(this)(true);
let resultElement = getResultElement(e.target);