Merge pull request #3012 from yurydelendik/pdfjs-switch
Fixes PDF application switch in Firefox.
This commit is contained in:
commit
79c3546c92
@ -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…
x
Reference in New Issue
Block a user