Render correct element

This commit is contained in:
MoyuScript
2014-02-23 17:02:49 +02:00
parent b062c9ca7d
commit a4ba5d1b11
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();