Skip to content

Commit 0cb1a08

Browse files
committed
Remove fallback function.
1 parent c1f73b9 commit 0cb1a08

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

web/viewer.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -374,13 +374,6 @@ var PDFView = {
374374
}
375375
},
376376

377-
fallback: function pdfViewDownload() {
378-
var url = this.url.split('#')[0];
379-
if (!PDFJS.isFirefoxExtension)
380-
return; // can't do this with regular viewer
381-
FirefoxCom.request('fallback', url);
382-
},
383-
384377
navigateTo: function pdfViewNavigateTo(dest) {
385378
if (typeof dest === 'string')
386379
dest = this.destinations[dest];

0 commit comments

Comments
 (0)