diff --git a/chrome/content/zotero/bindings/styled-textbox.xml b/chrome/content/zotero/bindings/styled-textbox.xml index 7e369de706..f6e9e03c2c 100644 --- a/chrome/content/zotero/bindings/styled-textbox.xml +++ b/chrome/content/zotero/bindings/styled-textbox.xml @@ -442,7 +442,10 @@ break; case 'ZoteroLinkClick': - ZoteroPane.loadURI(event.value); + var zp = typeof ZoteroPane != 'undefined' + ? ZoteroPane + : window.opener.ZoteroPane; + zp.loadURI(event.value); break; default: