mirror of
https://github.com/chylex/Discord-History-Tracker.git
synced 2025-04-13 07:17:12 +03:00
Fix "selected channel not visible in channel list"
Fix "The selected channel is not visible in the channel list" alert when the channel user play a game supporting RichPresence.
This commit is contained in:
parent
9e687212b2
commit
1f7bd010ed
@ -87,7 +87,7 @@ var DISCORD = (function(){
|
||||
return null;
|
||||
}
|
||||
|
||||
var name = Array.prototype.find.call(channel.querySelector("[class|='name']").childNodes, node => node.nodeType === Node.TEXT_NODE).nodeValue;
|
||||
var name = Array.prototype.find.call(channel.querySelector("span[class^='name']").childNodes, node => node.nodeType === Node.TEXT_NODE).nodeValue;
|
||||
|
||||
obj = {
|
||||
"server": name,
|
||||
|
Loading…
x
Reference in New Issue
Block a user