Browse Source

Merge pull request #3012 from yurydelendik/pdfjs-switch

Fixes PDF application switch in Firefox.
Brendan Dahl 12 years ago
parent
commit
79c3546c92
  1. 1
      extensions/firefox/content/PdfJs.jsm

1
extensions/firefox/content/PdfJs.jsm

@ -192,6 +192,7 @@ let PdfJs = { @@ -192,6 +192,7 @@ let PdfJs = {
var handlerInfo = Svc.mime.
getFromTypeAndExtension('application/pdf', 'pdf');
return handlerInfo.alwaysAskBeforeHandling == false &&
handlerInfo.plugin == null &&
handlerInfo.preferredAction == Ci.nsIHandlerInfo.handleInternally;
},

Loading…
Cancel
Save