Fix collapsible sidebar not working

This commit is contained in:
Rapptz 2020-08-29 20:39:25 -04:00
parent 7cc95d9dac
commit eba0aaa351

View File

@ -41,9 +41,9 @@ class Sidebar {
icon.addEventListener('click', () => { icon.addEventListener('click', () => {
if (icon.classList.contains('expanded')) { if (icon.classList.contains('expanded')) {
collapseSection(icon); this.collapseSection(icon);
} else { } else {
expandSection(icon); this.expandSection(icon);
} }
}) })