mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-18 07:23:03 +00:00
bug fixing
This commit is contained in:
@@ -14,7 +14,6 @@ export class AutoFocusDirective implements AfterViewInit {
|
||||
ngAfterViewInit() {
|
||||
if (isNotEmpty(this.autoFocusSelector)) {
|
||||
return this.el.nativeElement.querySelector(this.autoFocusSelector).focus();
|
||||
|
||||
} else {
|
||||
return this.el.nativeElement.focus();
|
||||
}
|
||||
|
Reference in New Issue
Block a user