fixes:938 - conditionals on locators don't work in CSL
A typo in the JS referred to the wrong variable
This commit is contained in:
parent
9ba9cf50c3
commit
a620e08b7b
|
@ -1310,7 +1310,7 @@ Zotero.CSL.prototype._processElements = function(item, element, formattedString,
|
|||
} else if(attribute == "locator") {
|
||||
exists = citationItem && citationItem.locator &&
|
||||
(citationItem.locatorType == variables[j]
|
||||
|| (!citation.locatorType && variables[j] == "page"));
|
||||
|| (!citationItem.locatorType && variables[j] == "page"));
|
||||
} else { // attribute == "position"
|
||||
if(variables[j] == "first") {
|
||||
exists = !citationItem
|
||||
|
|
Loading…
Reference in New Issue
Block a user