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:
commit
5f3e8806fe
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ class SignatureStorage {
|
|||
#save() {
|
||||
localStorage.setItem(
|
||||
KEY_STORAGE,
|
||||
JSON.stringify(Object.fromEntries(this.#signatures.entries()))
|
||||
JSON.stringify(Object.fromEntries(this.#signatures))
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue