Fix an error spotted in an error report
This commit is contained in:
parent
a47174748e
commit
95fa3bc554
1 changed files with 1 additions and 1 deletions
|
@ -2054,7 +2054,7 @@ Zotero.ItemTreeView.prototype.onDragStart = function (event) {
|
|||
}
|
||||
|
||||
// Get Quick Copy format for current URL
|
||||
var url = this._ownerDocument.defaultView.content ?
|
||||
var url = this._ownerDocument.defaultView.content && this._ownerDocument.defaultView.content.location ?
|
||||
this._ownerDocument.defaultView.content.location.href : null;
|
||||
var format = Zotero.QuickCopy.getFormatFromURL(url);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue