Skip to content

target="_blank" on anchor element causing error #340

@nigelmst

Description

@nigelmst

See jsfiddle

The alert in ready (JS line 3) is not executed due to error:

Uncaught TypeError: Cannot read property 'classList' of undefined

If remove target="_blank" from anchor element (HTML line 12) the app works as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions