Fixes PDF application switch in Firefox.
This commit is contained in:
parent
af1833c4d8
commit
6e975d431b
@ -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