Discord Toggle Channels List

Adds show/hide channels sidebar button to Discord Web App

< Feedback on Discord Toggle Channels List

Review: Good - script works

Deleted user 452524
§
Posted: 2020-05-20

Very good but we can't click on a server button without toggling so I advise you to change const addListenersToToggleButtons to :

const addListenersToToggleButtons = function() {
toggleButtons.forEach(function(elem) {
document.getElementsByClassName(elem)[0].addEventListener('click', function(e) {
if (e.target == document.querySelector("#toggleChannelsBtn")) {
toggleVisibility();
cheveronDirection();
}
})
});
}

Andy DAuthor
§
Posted: 2020-09-14

Thanks for the suggestion. I will take a look and try to fix this in 1.9

Thanks

Post reply

Sign in to post a reply.