[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:
dependabot[bot]
2026-03-24 22:17:07 +01:00
committed by GitHub
parent 8c1570af1c
commit 02ba387865
13 changed files with 591 additions and 482 deletions
+3 -3
View File
@@ -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) {
+3 -3
View File
@@ -123,10 +123,10 @@ export const ready = (callback: () => void, options?: ReadyOptions): void => {
}
}
if (document.readyState !== "loading") {
callback();
} else {
if (document.readyState === "loading") {
listen("DOMContentLoaded", document, callback, { once: true });
} else {
callback();
}
};