Fix separate note window (regression from 4e1937680f
)
This commit is contained in:
parent
898a1dc679
commit
4b0e2a9554
|
@ -37,8 +37,8 @@ function onLoad() {
|
||||||
if (window.arguments) {
|
if (window.arguments) {
|
||||||
var io = window.arguments[0];
|
var io = window.arguments[0];
|
||||||
}
|
}
|
||||||
var itemID = io.itemID;
|
var itemID = parseInt(io.itemID);
|
||||||
var collectionID = io.collectionID;
|
var collectionID = parseInt(io.collectionID);
|
||||||
var parentItemKey = io.parentItemKey;
|
var parentItemKey = io.parentItemKey;
|
||||||
|
|
||||||
return Zotero.spawn(function* () {
|
return Zotero.spawn(function* () {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user