mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
Remove direct console call (breaks IE9 when console is not open)
This commit is contained in:
parent
6554d4c8c8
commit
10ec079762
@ -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
|
if window url is about:blank, we can assign the url to current by writing onto the document
|
||||||
*/
|
*/
|
||||||
cloneWindow.onload = cloneIframeContainer.onload = () => {
|
cloneWindow.onload = cloneIframeContainer.onload = () => {
|
||||||
console.log('iframe load');
|
|
||||||
const interval = setInterval(() => {
|
const interval = setInterval(() => {
|
||||||
if (documentClone.body.childNodes.length > 0) {
|
if (documentClone.body.childNodes.length > 0) {
|
||||||
scrolledElements.forEach(initNode);
|
scrolledElements.forEach(initNode);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user