Fixes #877, getPrimaryIDForType doesn't work due to typo
This commit is contained in:
parent
818ef28f88
commit
08562e50cd
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ Zotero.Connector_Types = new function() {
|
||||||
this.getPrimaryIDForType = function(idOrName) {
|
this.getPrimaryIDForType = function(idOrName) {
|
||||||
var itemType = itemTypes[idOrName];
|
var itemType = itemTypes[idOrName];
|
||||||
if(!itemType) return false;
|
if(!itemType) return false;
|
||||||
return itemTypes[3]/* creatorTypes */[0];
|
return itemType[3]/* creatorTypes */[0];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue