Skip to content

Commit

Permalink
Tweak jurisdiction-depth param handing
Browse files Browse the repository at this point in the history
  • Loading branch information
fbennett committed Sep 9, 2017
1 parent 3e549f5 commit 074977b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chrome/content/zotero/xpcom/citeproc.js
Expand Up @@ -3314,7 +3314,7 @@ CSL.Engine.prototype.normalDecorIsOrphan = function (blob, params) {
};
CSL.getJurisdictionNameAndSuppress = function(state, jurisdictionID, jurisdictionName, chopTo) {
var ret = null;
if (jurisdictionName && chopTo) {
if (chopTo) {
jurisdictionID = jurisdictionID.split(":").slice(0, chopTo).join(":");
jurisdictionName = state.sys.getHumanForm(jurisdictionID);
}
Expand Down

0 comments on commit 074977b

Please sign in to comment.