mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-07-05 06:35:48 +02:00
Merge pull request #21536 from Snuffleupagus/PDFDocument-rm-unneeded-signatureData-null
Remove unneeded `this.#signatureData = null;` lines in `src/core/document.js`
This commit is contained in:
commit
cb70c93e8a
@ -2133,12 +2133,10 @@ class PDFDocument {
|
||||
.ensureDoc("formInfo")
|
||||
.then(async formInfo => {
|
||||
if (!formInfo.hasSignatures || !formInfo.hasFields) {
|
||||
this.#signatureData = null;
|
||||
return null;
|
||||
}
|
||||
const annotationGlobals = await this.annotationGlobals;
|
||||
if (!annotationGlobals) {
|
||||
this.#signatureData = null;
|
||||
return null;
|
||||
}
|
||||
const fields = annotationGlobals.acroForm.get("Fields");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user