Skip to content

Commit

Permalink
Merge pull request #6 from Hypercubed/feature/add-title
Browse files Browse the repository at this point in the history
Add title to divs
  • Loading branch information
evmar committed Dec 1, 2015
2 parents fb869a9 + b98dcc1 commit a5c3115
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions webtreemap.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ function makeDom(tree, level) {
caption.className = 'webtreemap-caption';
caption.innerHTML = tree.name;
dom.appendChild(caption);
dom.title = tree.name;

tree.dom = dom;
return dom;
Expand Down

0 comments on commit a5c3115

Please sign in to comment.