exit-intent-popup icon indicating copy to clipboard operation
exit-intent-popup copied to clipboard

IE10 document.body null within domReady

Open BryceBubbles opened this issue 8 years ago • 0 comments

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?

BryceBubbles avatar Feb 13 '17 05:02 BryceBubbles