Skip to content

Commit

Permalink
Update functions.php
Browse files Browse the repository at this point in the history
  • Loading branch information
danpros committed Feb 27, 2024
1 parent ddd46ca commit cbbc8dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions system/includes/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -1764,7 +1764,7 @@ function archive_list($custom = null)

$script = <<<EOF
if (this.parentNode.className.indexOf('expanded') > -1){this.parentNode.className = 'collapsed';this.innerHTML = '&#9658;';} else {this.parentNode.className = 'expanded';this.innerHTML = '&#9660;';}
EOF;
EOF;
$arch .= '<ul class="archivegroup">';
$arch .= '<li class="' . $class . '">';
$arch .= '<a href="javascript:void(0)" class="toggle" onclick="' . $script . '">' . $arrow . '</a> ';
Expand Down Expand Up @@ -3633,7 +3633,7 @@ function insert_toc($id, $part_1 = null, $part_2 = null)
});
</script>
EOF;
EOF;
$result = $part_1 . '<div class="toc-wrapper" id="toc-wrapper.'. $id .'" style="display:none;" >'. $load . $style .'<details '. $state .'><summary title="'. $label .'"><span class="details">'. $label .'</span></summary><div class="inner"><div class="toc" id="toc.'. $id .'"></div></div></details><script src="'. site_url().'system/resources/js/toc.generator.js"></script></div>' . $part_2;
return $result;
}
Expand Down

0 comments on commit cbbc8dd

Please sign in to comment.