Remove active from other classes

This commit is contained in:
आयुष झा 2020-06-01 18:42:54 +05:45
parent 4f6ad74697
commit b7ee70b690
No known key found for this signature in database
GPG Key ID: B8A4C36CEE73C65F
1 changed files with 1 additions and 0 deletions

View File

@ -7,6 +7,7 @@ function collapse_toc_elements_on_click (nav_li_a){
https://getbootstrap.com/docs/4.0/components/navbar/#nav
*/
$(nav_li_a).parent().toggleClass("active");
$("#text-table-of-contents li").removeClass("active");
}
$( document ).ready(function() {