commit e1c183b59719a35eb8554ed30da0108452698074 parent 9c91018964c141c1309b58855c4757505de59df8 Author: Dan Stillman <dstillman@zotero.org> Date: Thu, 13 Apr 2017 04:54:45 -0400 Fix link opening in standalone note windows Diffstat:
| M | chrome/content/zotero/bindings/styled-textbox.xml | | | 5 | ++++- |
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git 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: