Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixes typo in last commit

  • Loading branch information...
commit cc8fb8cdec4babeec783f2dbcb15641049f7259a 1 parent 93f5a74
@vitorbaptista vitorbaptista authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  widgets/treemap/main.js
View
2  widgets/treemap/main.js
@@ -31,7 +31,7 @@ OpenSpending.Treemap = function (elem, context, state) {
},
tooltipMessage: function(widget, node) {
var percentualValue = (node.data.value * 100)/widget.total;
- return node.name + " (" + OpenSpending.Utils.formatAmountWithCommas(obj, 2) + "%)";
+ return node.name + " (" + OpenSpending.Utils.formatAmountWithCommas(percentualValue, 2) + "%)";
}
}, context);
self.state = state;
Please sign in to comment.
Something went wrong with that request. Please try again.