File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -268,7 +268,7 @@ pub fn list_sub_pages_flattened_grouped_internal(
268
268
for ( prefix, group) in grouped {
269
269
let keep_group = group. len ( ) > 2 ;
270
270
if keep_group {
271
- out. push_str ( "<li class= \" toggle \" ><details><summary>" ) ;
271
+ out. push_str ( "<li><details><summary>" ) ;
272
272
out. push_str ( & html_escape:: encode_safe ( prefix) ) ;
273
273
out. push_str ( "-*</summary><ol>" ) ;
274
274
}
Original file line number Diff line number Diff line change @@ -593,9 +593,6 @@ impl SidebarMetaEntry {
593
593
if self . section {
594
594
out. push_str ( " class=\" section\" " ) ;
595
595
}
596
- if self . details . is_set ( ) || !matches ! ( self . children, MetaChildren :: None ) {
597
- out. push_str ( " class=\" toggle\" " ) ;
598
- }
599
596
if self . details . is_set ( ) {
600
597
out. push_str ( "><details" ) ;
601
598
if self . details . is_open ( ) {
You can’t perform that action at this time.
0 commit comments