File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 116116 </div >
117117 </nav >
118118
119- <script async src =" {{ path_to_root }} toc.js" ></script >
120-
121119 <div id =" page-wrapper" class =" page-wrapper" >
122120
123121 <div class =" page" >
293291 <script src =" {{ path_to_root }} searcher.js" ></script >
294292 {{ /if }}
295293
294+ <script src =" {{ path_to_root }} toc.js" ></script >
296295 <script src =" {{ path_to_root }} clipboard.min.js" ></script >
297296 <script src =" {{ path_to_root }} highlight.js" ></script >
298297 <script src =" {{ path_to_root }} book.js" ></script >
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ sidebarScrollbox.innerHTML = '{{#toc}}{{/toc}}';
1919 link.href = path_to_root + href;
2020 }
2121 // The "index" page is supposed to alias the first chapter in the book.
22+ console.log(link.href + "->" + current_page);
2223 if (link.href === current_page || (i === 0 && path_to_root === "" && current_page.endsWith("/index.html"))) {
2324 link.classList.add("active");
2425 var parent = link.parentElement;
You can’t perform that action at this time.
0 commit comments