mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Bug 1757527 - Slightly reduce (repeated) message passing overhead when localizing the PDF Viewer
This commit is contained in:
parent
ee39499a5a
commit
48c64c6c8d
2 changed files with 8 additions and 6 deletions
|
@ -437,7 +437,7 @@ document.mozL10n.setExternalLocalizerServices({
|
|||
},
|
||||
|
||||
getStrings(key) {
|
||||
return FirefoxCom.requestSync("getStrings", key);
|
||||
return FirefoxCom.requestSync("getStrings", null);
|
||||
},
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue