Simplify dynamic navbar styling & include top app bar via jQuery

Remove the need to specify the current URL in order to style the 
selected item in the navbar
This commit is contained in:
Matthew Grove
2018-11-14 17:17:34 +00:00
parent 28f9ee6f99
commit 8db49a24a3
4 changed files with 37 additions and 31 deletions

View File

@@ -1,5 +1,3 @@
window.activated_drawer_item_link = "/luhn-algorithm";
document.addEventListener("keyup", function(event) {
// stop any code that may normally run when enter key pressed
event.preventDefault();