Remove fallback function.
This commit is contained in:
parent
c1f73b96a4
commit
0cb1a08823
@ -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) {
|
navigateTo: function pdfViewNavigateTo(dest) {
|
||||||
if (typeof dest === 'string')
|
if (typeof dest === 'string')
|
||||||
dest = this.destinations[dest];
|
dest = this.destinations[dest];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user