mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Fix regression that disabled the "Open With Different Viewer" button on the fallback bar
This commit is contained in:
parent
ab4f27b272
commit
181e06f30a
2 changed files with 11 additions and 6 deletions
|
@ -615,11 +615,13 @@ var PDFView = {
|
|||
// return;
|
||||
// this.fellback = true;
|
||||
// var url = this.url.split('#')[0];
|
||||
// FirefoxCom.request('fallback', featureId, url, function response(download) {
|
||||
// if (!download)
|
||||
// return;
|
||||
// PDFView.download();
|
||||
// });
|
||||
// FirefoxCom.request('fallback', { featureId: featureId, url: url },
|
||||
// function response(download) {
|
||||
// if (!download) {
|
||||
// return;
|
||||
// }
|
||||
// PDFView.download();
|
||||
// });
|
||||
//#endif
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue