diff --git a/src-ui/src/app/components/document-detail/document-detail.component.ts b/src-ui/src/app/components/document-detail/document-detail.component.ts index 8bb3de79f..052e5cb40 100644 --- a/src-ui/src/app/components/document-detail/document-detail.component.ts +++ b/src-ui/src/app/components/document-detail/document-detail.component.ts @@ -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() }) }