Discord Channel not sjowing on old feeds

master
Cristiano Pires 2 years ago
parent 99015a824c
commit 4e492ee490

@ -468,6 +468,11 @@ async function updateFeed(element)
element.parentNode.parentNode.classList.add('hidden');
var FeedWrapper = document.getElementById('FeedWrapper');
FeedWrapper.classList.remove('hidden');
document.getElementById('DCchannelID').innerHTML = '';
for(var channel of guildsCache.get(element.parentNode.parentNode.childNodes[3].id).guildTextChannels)
{
document.getElementById('DCchannelID').innerHTML += `<option value="${channel.id}">${channel.name}</option>`;
}
document.getElementById('ChannelName').innerText = element.textContent;
document.getElementById('ChannelName').classList ='';
document.getElementById('ChannelName').classList.add(element.id);

Loading…
Cancel
Save