mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Merge pull request #3456 from brendandahl/cap-image-size
Limit image size to 1024*1024 for b2g.
This commit is contained in:
commit
077f08fa6d
5 changed files with 26 additions and 2 deletions
|
@ -3249,6 +3249,7 @@ window.addEventListener('afterprint', function afterPrint(evt) {
|
|||
//#if B2G
|
||||
//window.navigator.mozSetMessageHandler('activity', function(activity) {
|
||||
// var url = activity.source.data.url;
|
||||
// PDFJS.maxImageSize = 1024 * 1024;
|
||||
// PDFView.open(url);
|
||||
// var cancelButton = document.getElementById('activityClose');
|
||||
// cancelButton.addEventListener('click', function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue