Remove fallback function.

This commit is contained in:
Brendan Dahl 2012-05-09 09:02:41 -07:00
parent c1f73b96a4
commit 0cb1a08823

View File

@ -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];