mirror of
https://github.com/searxng/searxng.git
synced 2024-11-23 04:27:46 +01:00
commit
2151da3716
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');
|
return resultElement && resultElement.classList.contains('result-images');
|
||||||
}
|
}
|
||||||
|
|
||||||
searxng.on('.result', 'mousedown', function (e) {
|
searxng.on('.result', 'click', function (e) {
|
||||||
if (!isElementInDetail(e.target)) {
|
if (!isElementInDetail(e.target)) {
|
||||||
highlightResult(this)(true);
|
highlightResult(this)(true);
|
||||||
let resultElement = getResultElement(e.target);
|
let resultElement = getResultElement(e.target);
|
||||||
|
Loading…
Reference in New Issue
Block a user