Fixes #877, getPrimaryIDForType doesn't work due to typo

This commit is contained in:
Dan Stillman 2016-01-08 03:44:38 -05:00
parent 818ef28f88
commit 08562e50cd

View file

@ -120,7 +120,7 @@ Zotero.Connector_Types = new function() {
this.getPrimaryIDForType = function(idOrName) {
var itemType = itemTypes[idOrName];
if(!itemType) return false;
return itemTypes[3]/* creatorTypes */[0];
return itemType[3]/* creatorTypes */[0];
};
}