mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 03:16:10 -06:00 
			
		
		
		
	remove automatic focus on title in document-detail view
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
		@@ -299,14 +299,12 @@ export class DocumentDetailComponent implements OnInit, OnDestroy, DirtyComponen
 | 
			
		||||
  nextDoc() {
 | 
			
		||||
    this.documentListViewService.getNext(this.document.id).subscribe((nextDocId: number) => {
 | 
			
		||||
      this.router.navigate(['documents', nextDocId])
 | 
			
		||||
      this.titleInput?.focus()
 | 
			
		||||
    })
 | 
			
		||||
  }
 | 
			
		||||
  
 | 
			
		||||
  previousDoc () {
 | 
			
		||||
    this.documentListViewService.getPrevious(this.document.id).subscribe((prevDocId: number) => {
 | 
			
		||||
      this.router.navigate(['documents', prevDocId])
 | 
			
		||||
      this.titleInput?.focus()
 | 
			
		||||
    })
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user