mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
Merge pull request #478 from ClickWithMeNow/master
add classname to html2canvas iframe
This commit is contained in:
commit
0579804cbb
1
dist/html2canvas.js
vendored
1
dist/html2canvas.js
vendored
@ -692,6 +692,7 @@ function createWindowClone(ownerDocument, containerDocument, width, height, opti
|
||||
var documentElement = ownerDocument.documentElement.cloneNode(true),
|
||||
container = containerDocument.createElement("iframe");
|
||||
|
||||
container.className = "html2canvas-container";
|
||||
container.style.visibility = "hidden";
|
||||
container.style.position = "absolute";
|
||||
container.style.left = container.style.top = "-10000px";
|
||||
|
2
dist/html2canvas.min.js
vendored
2
dist/html2canvas.min.js
vendored
File diff suppressed because one or more lines are too long
@ -124,6 +124,7 @@ function createWindowClone(ownerDocument, containerDocument, width, height, opti
|
||||
var documentElement = ownerDocument.documentElement.cloneNode(true),
|
||||
container = containerDocument.createElement("iframe");
|
||||
|
||||
container.className = "html2canvas-container";
|
||||
container.style.visibility = "hidden";
|
||||
container.style.position = "absolute";
|
||||
container.style.left = container.style.top = "-10000px";
|
||||
|
Loading…
Reference in New Issue
Block a user