exit-intent-popup
exit-intent-popup copied to clipboard
IE10 document.body null within domReady
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?