Skip to content

Commit

Permalink
using notation codes at the vocabulary root hierarchy too, fixes #483
Browse files Browse the repository at this point in the history
…and #484
  • Loading branch information
henriyli committed Mar 11, 2016
1 parent b7d76e8 commit cc03e72
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions resource/js/hierarchy.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,8 @@ function vocabRoot(topConcepts) {
};
if (conceptData.hasChildren)
childObject.children = true;
if (conceptData.notation)
childObject.text = '<span class="tree-notation">' + conceptData.notation + '</span> ' + childObject.text;
setNode(childObject);
topArray.push(childObject);
}
Expand Down

0 comments on commit cc03e72

Please sign in to comment.