From 440bfee62b0e1a1a966695ccb181766284d0ff63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Tue, 19 Mar 2019 22:49:55 +0100 Subject: [PATCH] Script.js --- web/script.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/web/script.js b/web/script.js index 183058b..ab689f3 100644 --- a/web/script.js +++ b/web/script.js @@ -12,7 +12,6 @@ function parseMd() { aDiv.after(nodes); insertLinks() d3.selectAll("code").each(function() { hljs.highlightBlock(this); }); - // removeOrigToc() addToc() }); } @@ -24,13 +23,6 @@ function insertLinks() { }) } -function removeOrigToc() { - headerContents = $('#contents') - contentsList = headerContents.next() - headerContents.remove() - contentsList.remove() -} - function addToc() { headerMain = $('#main') nodes = $.parseHTML(TOC)