Render correct element

This commit is contained in:
Niklas von Hertzen
2014-02-23 17:02:49 +02:00
parent 314d26f1f1
commit 5137e5f35a
5 changed files with 21 additions and 11 deletions

View File

@ -17,7 +17,7 @@ var h2cSelector, h2cOptions;
document.write(srcStart + '/src/' + html2canvas[i] + '.js?' + Math.random() + scrEnd);
}
window.onload = function() {
h2cSelector = [document.body];
h2cSelector = [document.documentElement];
if (window.setUp) {
window.setUp();