1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 14:48:08 +02:00

Merge pull request #19789 from Snuffleupagus/generic-SignatureStorage-save

Simplify `Object.fromEntries` usage a tiny bit in the `web/generic_signature_storage.js` file
This commit is contained in:
Tim van der Meij 2025-04-12 13:37:40 +02:00 committed by GitHub
commit 5f3e8806fe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -36,7 +36,7 @@ class SignatureStorage {
#save() {
localStorage.setItem(
KEY_STORAGE,
JSON.stringify(Object.fromEntries(this.#signatures.entries()))
JSON.stringify(Object.fromEntries(this.#signatures))
);
}