Fix "path.startsWith is not a function" sync error on Windows
`OS.Path.join()` on Windows throws if an integer is passed. Seems like this would happen on another computer whenever an image annotation is deleted in a group?
This commit is contained in:
parent
37c48dc3ee
commit
fcb16f628b
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ Zotero.Annotations = new function () {
|
||||||
parts.push('library');
|
parts.push('library');
|
||||||
}
|
}
|
||||||
else if (library.libraryType == 'group') {
|
else if (library.libraryType == 'group') {
|
||||||
parts.push('groups', library.groupID);
|
parts.push('groups', library.groupID + '');
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
throw new Error(`Unexpected library type '${library.libraryType}'`);
|
throw new Error(`Unexpected library type '${library.libraryType}'`);
|
||||||
|
|
Loading…
Reference in a new issue