1
0
Fork 0
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:
Jonas Jenwald 2022-02-28 21:24:38 +01:00
parent ee39499a5a
commit 48c64c6c8d
2 changed files with 8 additions and 6 deletions

View file

@ -437,7 +437,7 @@ document.mozL10n.setExternalLocalizerServices({
},
getStrings(key) {
return FirefoxCom.requestSync("getStrings", key);
return FirefoxCom.requestSync("getStrings", null);
},
});