Skip to content

Commit c10d90c

Browse files
Opineppesquentin.legrandHackbrettXXX
authored
Fix API.internal.pages not being updated when restoring a RenderTarget ( #3898 ) (#3899)
Co-authored-by: quentin.legrand <[email protected]> Co-authored-by: Lukas Holländer <[email protected]>
1 parent 2db3d9d commit c10d90c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/jspdf.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6043,7 +6043,9 @@ function jsPDF(options) {
60436043
getEncryptor: getEncryptor,
60446044
output: output,
60456045
getNumberOfPages: getNumberOfPages,
6046-
pages: pages,
6046+
get pages() {
6047+
return pages;
6048+
},
60476049
out: out,
60486050
f2: f2,
60496051
f3: f3,

0 commit comments

Comments
 (0)