mirror of
https://github.com/chylex/Discord-History-Tracker.git
synced 2025-04-13 07:17:12 +03:00
Merge pull request #58 from OnceDot/patch-1
Fix "selected channel not visible in channel list"
This commit is contained in:
commit
0f614bfc41
@ -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