From 6e975d431b76c5a7b9a165fd0134ab1579129257 Mon Sep 17 00:00:00 2001 From: Yury Delendik Date: Fri, 29 Mar 2013 20:08:08 -0500 Subject: [PATCH] Fixes PDF application switch in Firefox. --- extensions/firefox/content/PdfJs.jsm | 1 + 1 file changed, 1 insertion(+) diff --git a/extensions/firefox/content/PdfJs.jsm b/extensions/firefox/content/PdfJs.jsm index 54cbf5812..d360cda69 100644 --- a/extensions/firefox/content/PdfJs.jsm +++ b/extensions/firefox/content/PdfJs.jsm @@ -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; },