fix: deleted comments

This commit is contained in:
Moyasee
2025-10-30 23:36:41 +02:00
parent 80e0adcd49
commit bbbf861594

View File

@@ -112,7 +112,6 @@ export function Pagination({
}; };
const onJumpKeyDown = (e: KeyboardEvent<HTMLInputElement>) => { const onJumpKeyDown = (e: KeyboardEvent<HTMLInputElement>) => {
// Allow common control keys
const controlKeys = [ const controlKeys = [
"Backspace", "Backspace",
"Delete", "Delete",
@@ -138,7 +137,6 @@ export function Pagination({
} else if (e.key === "Escape") { } else if (e.key === "Escape") {
setIsJumpOpen(false); setIsJumpOpen(false);
} else if (!/^\d$/.test(e.key)) { } else if (!/^\d$/.test(e.key)) {
// Block any non-digit input (e.g., '.', ',')
e.preventDefault(); e.preventDefault();
} }
}; };