Skip to content

Commit

Permalink
Fix blank window when opening ZotFile's zotero://open-pdf links
Browse files Browse the repository at this point in the history
  • Loading branch information
dstillman committed Jul 12, 2017
1 parent 752e25e commit dd5d3a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chrome/content/zotero/zoteroPane.js
Expand Up @@ -3262,7 +3262,7 @@ var ZoteroPane = new function()
if (uri.startsWith('zotero:')) {
let nsIURI = Services.io.newURI(uri, null, null);
let handler = Components.classes["@mozilla.org/network/protocol;1?name=zotero"]
.createInstance(Components.interfaces.nsIProtocolHandler);
.getService();
let extension = handler.wrappedJSObject.getExtension(nsIURI);
if (extension.noContent) {
extension.doAction(nsIURI);
Expand Down

0 comments on commit dd5d3a8

Please sign in to comment.