Skip to content

Commit 657e340

Browse files
committed
fix
1 parent 82dd821 commit 657e340

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

apps/svelte.dev/src/lib/components/SelectIcon.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
}
4545

4646
// except parents of the current one
47-
const current = details.querySelector(`[href="${$page.url.pathname}"]`);
47+
const current = details.querySelector(`[href="${$page.url.pathname}"]`) as HTMLAnchorElement | null;
4848
if (!current) return;
4949

5050
let node = current as Element;

packages/site-kit/src/lib/actions/focus.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ export function trap(node: HTMLElement, { reset_focus = true }: { reset_focus?:
5858
if (e.shiftKey) {
5959
group.prev();
6060
} else {
61-
console.log('next', group);
6261
group.next();
6362
}
6463
}

0 commit comments

Comments
 (0)