mirror of
https://github.com/searxng/searxng.git
synced 2026-05-25 04:14:31 +02:00
[upd] web-client (simple): Bump the group (#5874)
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
@@ -190,9 +190,7 @@ const highlightResult =
|
||||
|
||||
let next: HTMLElement | undefined;
|
||||
|
||||
if (typeof effectiveWhich !== "string") {
|
||||
next = effectiveWhich;
|
||||
} else {
|
||||
if (typeof effectiveWhich === "string") {
|
||||
switch (effectiveWhich) {
|
||||
case "visible": {
|
||||
const top = document.documentElement.scrollTop || document.body.scrollTop;
|
||||
@@ -222,6 +220,8 @@ const highlightResult =
|
||||
default:
|
||||
[next] = results;
|
||||
}
|
||||
} else {
|
||||
next = effectiveWhich;
|
||||
}
|
||||
|
||||
if (next) {
|
||||
|
||||
Reference in New Issue
Block a user