mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 03:16:10 -06:00 
			
		
		
		
	semicolons
This commit is contained in:
		@@ -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()
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -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()
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user