forked from Ponysearch/Ponysearch
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
4 changed files with 4 additions and 4 deletions
File diff suppressed because one or more lines are too long
2
searx/static/themes/simple/js/searxng.min.js
vendored
2
searx/static/themes/simple/js/searxng.min.js
vendored
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 a new issue