mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-23 00:28:06 +02:00
Remove fallback function.
This commit is contained in:
parent
c1f73b96a4
commit
0cb1a08823
1 changed files with 0 additions and 7 deletions
|
@ -374,13 +374,6 @@ var PDFView = {
|
|||
}
|
||||
},
|
||||
|
||||
fallback: function pdfViewDownload() {
|
||||
var url = this.url.split('#')[0];
|
||||
if (!PDFJS.isFirefoxExtension)
|
||||
return; // can't do this with regular viewer
|
||||
FirefoxCom.request('fallback', url);
|
||||
},
|
||||
|
||||
navigateTo: function pdfViewNavigateTo(dest) {
|
||||
if (typeof dest === 'string')
|
||||
dest = this.destinations[dest];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue