Use getService() for another protocol handler call
Follow-up to dd5d3a8668
-- not sure if this one matters, but probably
can't hurt
This commit is contained in:
parent
dd5d3a8668
commit
ae19ffcf9b
1 changed files with 1 additions and 1 deletions
|
@ -546,7 +546,7 @@ ZoteroCommandLineHandler.prototype = {
|
||||||
if(win) {
|
if(win) {
|
||||||
win.focus();
|
win.focus();
|
||||||
Components.classes["@mozilla.org/network/protocol;1?name=zotero"]
|
Components.classes["@mozilla.org/network/protocol;1?name=zotero"]
|
||||||
.createInstance(Components.interfaces.nsIProtocolHandler).newChannel(uri);
|
.getService().newChannel(uri);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// See below
|
// See below
|
||||||
|
|
Loading…
Add table
Reference in a new issue