Fix embedded item citing (since 2e9e6554)

I don't know how this has not been reported yet
This commit is contained in:
Adomas Venčkauskas 2021-04-02 10:47:21 +03:00
parent bbb0f8bca4
commit a6fc2cb206

View file

@ -818,6 +818,7 @@ var Zotero_QuickFormat = new function () {
var citationItem = {"id":referenceBox.selectedItem.getAttribute("zotero-item")};
if (typeof citationItem.id === "string" && citationItem.id.indexOf("/") !== -1) {
var item = Zotero.Cite.getItem(citationItem.id);
citationItem.uris = item.cslURIs;
citationItem.itemData = item.cslItemData;
}