]> git.parisson.com Git - pdf.js.git/commitdiff
Remove fallback function.
authorBrendan Dahl <brendan.dahl@gmail.com>
Wed, 9 May 2012 16:02:41 +0000 (09:02 -0700)
committerBrendan Dahl <brendan.dahl@gmail.com>
Wed, 9 May 2012 16:02:41 +0000 (09:02 -0700)
web/viewer.js

index 857429c5e02e78daa88d29808d010e457c66c7e6..e8eb9ad3b6c762247ea696737915c89311994f0d 100644 (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];