fix: correct remaining native 'event.preventDefault()' calls

- Reverted incorrect snake_case 'event.prevent_default()' to native CamelCase 'event.preventDefault()' across multiple components.
- Finalized formatting for event files upload and archive content edit components.
This commit is contained in:
Scott Idem
2026-02-06 15:10:10 -05:00
parent f8476e1133
commit ec363f16fc
4 changed files with 294 additions and 136 deletions

View File

@@ -68,7 +68,7 @@
function prevent_default<T extends Event>(fn: (event: T) => void) {
return function (event: T) {
event.prevent_default();
event.preventDefault();
fn(event);
};
}

View File

@@ -379,7 +379,7 @@
function prevent_default<T extends Event>(fn: (event: T) => void) {
return function (event: T) {
event.prevent_default();
event.preventDefault();
fn(event);
};
}