Skip to content

IE10 document.body null within domReady #32

@BryceBubbles

Description

@BryceBubbles

In IE10 and below (compat modes in IE11) I get an error:

SCRIPT5007: Unable to get property 'appendChild' of undefined or null reference
File: bioep.js, Line: 115, Column: 3

which is for this line which gets triggered from your domReady function:

document.body.appendChild(this.bgEl);

This happens with the demo as well as my code, and I'm guessing this is an issue with document.readyState?
Is IE10 supported?

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