diff --git a/README.md b/README.md index 3e5edc526d..48e5dd96ab 100644 --- a/README.md +++ b/README.md @@ -184,7 +184,7 @@ Either way, you can now access the docs at port 4000 on your Docker host. ## Important files - `/_data/toc.yaml` defines the left-hand navigation for the docs -- `/js/menu.js` defines most of the docs-specific JS such as TOC generation and menu syncing +- `/js/docs.js` defines most of the docs-specific JS such as TOC generation and menu syncing - `/css/style.scss` defines the docs-specific style rules - `/_layouts/docs.html` is the HTML template file, which defines the header and footer, and includes all the JS/CSS that serves the docs content diff --git a/_includes/body.html b/_includes/body.html index d6093baa0b..a8c387be47 100644 --- a/_includes/body.html +++ b/_includes/body.html @@ -89,7 +89,6 @@ - diff --git a/js/menu.js b/js/menu.js deleted file mode 100644 index 8fdbe43014..0000000000 --- a/js/menu.js +++ /dev/null @@ -1,16 +0,0 @@ -function hookupTOCEvents() { - $('.expand-menu').on('click', function(elem) { - var menu = elem.currentTarget.parentElement - if (menu.classList.contains("menu-closed")) { - menu.classList.remove("menu-closed") - menu.classList.add("menu-open") - } else { - menu.classList.add("menu-closed") - menu.classList.remove("menu-open") - } - return false; - }); - - $(".left-off-canvas-menu").css("display","block"); -} -$(document).ready(hookupTOCEvents);