Remove direct console call (breaks IE9 when console is not open)

This commit is contained in:
Niklas von Hertzen 2017-08-06 15:43:53 +08:00
parent 6554d4c8c8
commit 10ec079762

View File

@ -118,7 +118,6 @@ export const cloneWindow = (
if window url is about:blank, we can assign the url to current by writing onto the document
*/
cloneWindow.onload = cloneIframeContainer.onload = () => {
console.log('iframe load');
const interval = setInterval(() => {
if (documentClone.body.childNodes.length > 0) {
scrolledElements.forEach(initNode);