Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

semicolons

Michael Shamoon4773d0bb7f03
diff --git a/src-ui/src/app/components/common/date-dropdown/date-dropdown.component.ts b/src-ui/src/app/components/common/date-dropdown/date-dropdown.component.ts
index 81844382c..fecac367b 100644
--- a/src-ui/src/app/components/common/date-dropdown/date-dropdown.component.ts
+++ b/src-ui/src/app/components/common/date-dropdown/date-dropdown.component.ts
@@ -123,7 +123,7 @@ export class DateDropdownComponent implements OnInit, OnDestroy {
// prevent chars other than numbers and separators
onKeyPress(event: KeyboardEvent) {
if (!/[0-9,\.\/-]+/.test(event.key)) {
- event.preventDefault();
+ event.preventDefault()
}
}
}
diff --git a/src-ui/src/app/components/common/input/date/date.component.ts b/src-ui/src/app/components/common/input/date/date.component.ts
index 061689d1a..709f96e75 100644
--- a/src-ui/src/app/components/common/input/date/date.component.ts
+++ b/src-ui/src/app/components/common/input/date/date.component.ts
@@ -30,7 +30,7 @@ export class DateComponent extends AbstractInputComponent<string> implements OnI
// prevent chars other than numbers and separators
onKeyPress(event: KeyboardEvent) {
if (!/[0-9,\.\/-]+/.test(event.key)) {
- event.preventDefault();
+ event.preventDefault()
}
}
}