From ae19ffcf9b86fa0ba599a86350b5319b2de892f1 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 12 Jul 2017 18:59:20 -0400 Subject: [PATCH] Use getService() for another protocol handler call Follow-up to dd5d3a8668e -- not sure if this one matters, but probably can't hurt --- components/zotero-service.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/zotero-service.js b/components/zotero-service.js index 41d1506cb1..d142429b02 100644 --- a/components/zotero-service.js +++ b/components/zotero-service.js @@ -546,7 +546,7 @@ ZoteroCommandLineHandler.prototype = { if(win) { win.focus(); Components.classes["@mozilla.org/network/protocol;1?name=zotero"] - .createInstance(Components.interfaces.nsIProtocolHandler).newChannel(uri); + .getService().newChannel(uri); } } // See below