Skip to content

Script sometimes fails to load due to uncaught exception  #9

Open
@Kv603

Description

@Kv603

Sometimes the script fails at start, error is:
Uncaught TypeError: Cannot read properties of undefined (reading 'appendChild')

Adding "defer" to the script invocation fixes the problem:
<script src="https://markknol.github.io/console-log-viewer/console-log-viewer.js" defer></script>

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