forked from zaclys/searxng
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:
commit
3c924c22d9
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue