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

This commit is contained in:
MoyuScript 2017-08-06 15:43:53 +08:00
parent 30ce973b3d
commit 63be1b0961

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);