Skip to content
Snippets Groups Projects
Commit 23590102 authored by polesye's avatar polesye
Browse files

BLD-205: fix total count.

parent 5fb487a3
No related merge requests found
......@@ -239,6 +239,7 @@ define('WordCloudMain', ['logme'], function (logme) {
cloudSectionEl
.addClass('active')
.find('.your_words').html(studentWordsStr)
.end()
.find('.total_num_words').html(response.total_count);
$(cloudSectionEl.attr('id') + ' .word_cloud').empty();
......@@ -282,7 +283,7 @@ define('WordCloudMain', ['logme'], function (logme) {
.attr('transform', function (d) {
return 'translate(' + [d.x, d.y] + ')rotate(' + d.rotate + ')scale(' + scale + ')';
})
.text(function (d) {
.text(function (d) {
return d.text;
});
}; // End-of: WordCloudMain.prototype.drawWordCloud = function (words, bounds) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment