Skip to content

Focus method has dead code #118

@fidian

Description

@fidian

Please see here:
https://github.com/kekeh/angular-mydatepicker/blob/master/projects/angular-mydatepicker/src/lib/components/calendar/calendar.component.ts#L559

It looks like elem is assigned uselessly. When the line is deleted, then most of the if block is also useless. Is there a missing elem.focus() here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions