We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1e35b4 commit 02c65feCopy full SHA for 02c65fe
web_src/js/features/repo-home.js
@@ -22,9 +22,11 @@ export function initRepoTopicBar() {
22
};
23
24
function addLabelDeleteIconAria($el) {
25
- $el.removeAttr('aria-hidden').attr({
26
- 'aria-label': topicPrompts.removeTopic.replace('%s', $el.parent().attr('data-value')),
27
- 'role': 'button',
+ $el.removeAttr('aria-hidden').each(function() {
+ $(this).attr({
+ 'aria-label': topicPrompts.removeTopic.replace('%s', $(this).parent().attr('data-value')),
28
+ 'role': 'button',
29
+ });
30
});
31
}
32
0 commit comments