mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-07 17:39:03 +00:00
Fix collapsible sidebar not working
This commit is contained in:
1 parent
994de512cb
commit
39f1f9098e
1 file changed
+2
-2
Vendored
+2
-2
@@ -41,9 +41,9 @@ class Sidebar {
|
||||
|
||||
icon.addEventListener('click', () => {
|
||||
if (icon.classList.contains('expanded')) {
|
||||
collapseSection(icon);
|
||||
this.collapseSection(icon);
|
||||
} else {
|
||||
expandSection(icon);
|
||||
this.expandSection(icon);
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in new issue
Block a user