Fixes #1826, Quick Copy does not work in Standalone
This commit is contained in:
parent
fa7ca7e2d7
commit
56eed344f5
1 changed files with 1 additions and 1 deletions
|
@ -1714,7 +1714,7 @@ var ZoteroPane = new function()
|
|||
return;
|
||||
}
|
||||
|
||||
var url = window.content.location.href;
|
||||
var url = (window.content && window.content.location ? window.content.location.href : null);
|
||||
var [mode, format] = Zotero.QuickCopy.getFormatFromURL(url).split('=');
|
||||
var [mode, contentType] = mode.split('/');
|
||||
|
||||
|
|
Loading…
Reference in a new issue