Skip to content

Commit

Permalink
Update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
gehongyan committed Apr 14, 2024
1 parent e4a2dee commit dba0924
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/_template/material/public/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
{
// Ugly hack to improve toc filter.
let target = document.getElementById("toc");

if(!target) return;

let config = { attributes: false, childList: true, subtree: true };
let observer = new MutationObserver((list) =>
{
Expand Down

0 comments on commit dba0924

Please sign in to comment.