Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/xblock_word_cloud/static/js/src/word_cloud.js
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ function drawWordCloud(response, words, bounds, wordCloudEl)
return wcCount;
})
.attr('aria-describedby', () => interpolateHtml(
gettext('text_word_{uniqueId} title_word_{uniqueId}'),
'text_word_{uniqueId} title_word_{uniqueId}',
{
// eslint-disable-next-line no-undef
uniqueId: generateUniqueId(cloudSectionEl.attr('id'), $(this).data('id')),
Expand All @@ -261,7 +261,7 @@ function drawWordCloud(response, words, bounds, wordCloudEl)
groupEl
.append('title')
.attr('id', () => interpolateHtml(
gettext('title_word_{uniqueId}'),
'title_word_{uniqueId}',
{
// eslint-disable-next-line no-undef
uniqueId: generateUniqueId(cloudSectionEl.attr('id'), $(this).parent().data('id')),
Expand All @@ -283,7 +283,7 @@ function drawWordCloud(response, words, bounds, wordCloudEl)
groupEl
.append('text')
.attr('id', () => interpolateHtml(
gettext('text_word_{uniqueId}'),
'text_word_{uniqueId}',
{
// eslint-disable-next-line no-undef
uniqueId: generateUniqueId(cloudSectionEl.attr('id'), $(this).parent().data('id')),
Expand Down