Fix "comment.split is not a function" in item box
This commit is contained in:
parent
19b8db590f
commit
8a93250ca1
1 changed files with 5 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue