This commit is contained in:
Alexandre Alapetite 2024-05-16 13:09:29 +02:00 committed by GitHub
commit f5dcfe557d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -421,8 +421,8 @@ function toggleContent(new_active, old_active, skipping) {
}
new_active.classList.add('current');
if (old_active) {
old_active.classList.remove('active');
old_active.classList.remove('current'); // Split for IE11
// old_active.classList.remove('active'); // If we want to auto-collapse
old_active.classList.remove('current');
if (context.auto_remove_article) {
removeArticle(old_active);
}