mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-29 15:47:57 +02:00
Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1170063. The bug only mentions the <kbd>Meta</kbd> key, but given that a similar situation can occur for <kbd>Ctrl</kbd>, it seemed reasonable to also handle that case in the same patch. The only possible caveat with the patch is that because of the use of `shadow`, things won't work perfectly if either of the prefs are changed *while* the viewer is active. In this case a reload is required in order for it to work correctly, but given that the issue this patch fixes should be quite rare anyway, that seems OK. |
||
---|---|---|
.. | ||
PdfJs-stub.jsm | ||
PdfJs.jsm | ||
pdfjschildbootstrap.js | ||
PdfjsChromeUtils.jsm | ||
PdfjsContentUtils.jsm | ||
PdfJsTelemetry-addon.jsm | ||
PdfJsTelemetry.jsm | ||
PdfRedirector.jsm | ||
PdfStreamConverter.jsm |