mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
use element instead of element-array in examples
This commit is contained in:
parent
f0e234a1d8
commit
5300f20b78
@ -173,7 +173,7 @@
|
||||
</p>
|
||||
<script type="text/javascript" src="../build/html2canvas.js"></script>
|
||||
<script type="text/javascript">
|
||||
html2canvas( [ document.body ], {
|
||||
html2canvas(document.body, {
|
||||
onrendered: function(canvas) {
|
||||
document.body.appendChild(canvas);
|
||||
}
|
||||
|
@ -55,7 +55,7 @@
|
||||
</div>
|
||||
<script type="text/javascript" src="../build/html2canvas.js"></script>
|
||||
<script type="text/javascript">
|
||||
html2canvas( [ document.body ], {
|
||||
html2canvas(document.body, {
|
||||
onrendered: function(canvas) {
|
||||
document.body.appendChild(canvas);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user