Fix channel names in context menus
This commit is contained in:
parent
19693bc9b7
commit
b02c3b6c17
@ -6,6 +6,7 @@
|
||||
:title="getAriaLabel()"
|
||||
:data-id="channel.id"
|
||||
:data-target="'#chan-' + channel.id"
|
||||
:data-name="channel.name"
|
||||
:aria-controls="'#chan-' + channel.id"
|
||||
:aria-selected="activeChannel && channel === activeChannel.channel"
|
||||
class="chan"
|
||||
|
@ -272,7 +272,7 @@ function addFocusItem() {
|
||||
addContextMenuItem({
|
||||
check: (target) => target.hasClass("chan"),
|
||||
className: getClass,
|
||||
displayName: (target) => target.attr("aria-label"),
|
||||
displayName: (target) => target.attr("data-name") || target.attr("aria-label"),
|
||||
data: (target) => target.attr("data-target"),
|
||||
callback: focusChan,
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user