Fixed related publications appearing in toc (#2196)
Fixes #2192 --------- Signed-off-by: George Araujo <george.gcac@gmail.com>
This commit is contained in:
parent
9794c625b6
commit
0f0feb17be
|
|
@ -12,6 +12,10 @@ $(document).ready(function () {
|
|||
|
||||
// bootstrap-toc
|
||||
if ($("#toc-sidebar").length) {
|
||||
// remove related publications years from the TOC
|
||||
$(".publications h2").each(function () {
|
||||
$(this).attr("data-toc-skip", "");
|
||||
});
|
||||
var navSelector = "#toc-sidebar";
|
||||
var $myNav = $(navSelector);
|
||||
Toc.init($myNav);
|
||||
|
|
|
|||
Loading…
Reference in New Issue