Merge pull request #997 from return42/fix-794

[fix] Text can't be selected when using simple theme with JS enabled
This commit is contained in:
Markus Heiser 2022-03-21 08:16:38 +01:00 committed by GitHub
commit 3c924c22d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

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