mirror of
https://github.com/zotero/zotero.git
synced 2026-09-17 23:51:18 +00:00
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
Reference in a new issue