Fix "comment.split is not a function" in item box
This commit is contained in:
parent
19b8db590f
commit
8a93250ca1
|
@ -1562,7 +1562,11 @@
|
|||
}
|
||||
}
|
||||
|
||||
Zotero.debug(comment);
|
||||
// No result selected
|
||||
if (!comment) {
|
||||
return;
|
||||
}
|
||||
|
||||
var [creatorID, numFields] = comment.split('-');
|
||||
|
||||
// If result uses two fields, save both
|
||||
|
|
Loading…
Reference in New Issue
Block a user