Skip to content

Commit

Permalink
Do not treat locator-extra as a number is-numeric test
Browse files Browse the repository at this point in the history
  • Loading branch information
fbennett committed Jan 16, 2020
1 parent 1aa49dd commit 0a2beb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/attributes.js
Expand Up @@ -53,7 +53,7 @@ CSL.Attributes["@is-numeric"] = function (state, arg) {
if (state.tmp.shadow_numbers[variable].numeric) {
return true;
}
} else if (["title", "locator-extra","version"].indexOf(variable) > -1) {
} else if (["title","version"].indexOf(variable) > -1) {
if (myitem[variable].slice(-1) === "" + parseInt(myitem[variable].slice(-1), 10)) {
return true;
}
Expand Down

0 comments on commit 0a2beb4

Please sign in to comment.