refactor: standardize 'prevent_default' helpers and batch format modules

- Renamed internal 'preventDefault' helpers to 'prevent_default' for project-wide snake_case consistency.
- Corrected native event method calls from 'prevent_default()' to 'preventDefault()' to resolve runtime TypeErrors.
- Applied batch formatting (printWidth: 80) to Journals and IDAA Recovery Meetings modules.
- Removed deprecated 'preventDefault' imports from svelte/legacy.
- Fixed Journal Entry 404 by migrating loader to V3 API helper.
This commit is contained in:
Scott Idem
2026-02-06 14:45:53 -05:00
parent 5bd4f7454d
commit 7ce5e1f825
24 changed files with 1083 additions and 479 deletions

View File

@@ -44,25 +44,25 @@
});
function handle_drag_enter(e: DragEvent) {
e.prevent_default();
e.preventDefault();
e.stopPropagation();
is_dragging = true;
}
function handle_drag_leave(e: DragEvent) {
e.prevent_default();
e.preventDefault();
e.stopPropagation();
is_dragging = false;
}
function handle_drag_over(e: DragEvent) {
e.prevent_default();
e.preventDefault();
e.stopPropagation();
is_dragging = true;
}
function handle_drop(e: DragEvent) {
e.prevent_default();
e.preventDefault();
e.stopPropagation();
is_dragging = false;