Skip to content

Commit

Permalink
Merge pull request #207 from citation-style-language/put-locale-at-top
Browse files Browse the repository at this point in the history
Put new locale elements after info element
  • Loading branch information
adam3smith committed Jul 4, 2017
2 parents cc5618b + 42d2153 commit 4e11999
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/addNodeDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,9 @@ define(
return false;
}
});
} else if (nodeName === "locale" && children.length > 0 && children[0].name === "info") {
// put it after the info node:
position = 1;
}

CSLEDIT_controller.exec("addNode", [
Expand Down

0 comments on commit 4e11999

Please sign in to comment.