Skip to content

Commit

Permalink
fix(typeahead): onFocus should not need any arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
sarunint authored and valorkin committed Oct 7, 2016
1 parent 0bd5c60 commit 41f5834
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/typeahead/typeahead.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export class TypeaheadDirective implements OnInit {
}
}

@HostListener('focus', ['$event.target'])
@HostListener('focus')
public onFocus():void {
if (this.typeaheadMinLength === 0) {
this.typeaheadLoading.emit(true);
Expand Down

0 comments on commit 41f5834

Please sign in to comment.