mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Merge pull request #3012 from yurydelendik/pdfjs-switch
Fixes PDF application switch in Firefox.
This commit is contained in:
commit
79c3546c92
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue