|
|
@ -276,13 +276,7 @@ function main() { |
|
|
|
}); |
|
|
|
|
|
|
|
delegate(document, '.sidebar__toggle__icon', 'click', () => { |
|
|
|
const target = document.querySelector('.sidebar ul'); |
|
|
|
|
|
|
|
if (target.style.display === 'block') { |
|
|
|
target.style.display = 'none'; |
|
|
|
} else { |
|
|
|
target.style.display = 'block'; |
|
|
|
} |
|
|
|
document.querySelector('.sidebar ul').classList.toggle('visible'); |
|
|
|
}); |
|
|
|
|
|
|
|
// Empty the honeypot fields in JS in case something like an extension
|
|
|
|