We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 474b36e commit cfc00c6Copy full SHA for cfc00c6
src/html2pdf.js
@@ -61,7 +61,7 @@ var html2pdf = (function(html2canvas, jsPDF) {
61
var containerRect = unitConvert(container.getBoundingClientRect(), pageSize.k);
62
63
// Treat each client rect as a separate link (for text-wrapping).
64
- links.forEach(function(link) {
+ Array.prototype.forEach.call(links, function(link) {
65
var clientRects = link.getClientRects();
66
for (var i=0; i<clientRects.length; i++) {
67
var clientRect = unitConvert(clientRects[i], pageSize.k);
0 commit comments