diff --git a/.Net Capstone Project/Updatedslidbar.js b/.Net Capstone Project/Updatedslidbar.js new file mode 100644 index 0000000..eae82b1 --- /dev/null +++ b/.Net Capstone Project/Updatedslidbar.js @@ -0,0 +1,87 @@ +// Single source of truth for the left navigation on EVERY page. +// +// Why this file self-initialises: +// The old version only drew the menu when a page explicitly called +// renderSidebar('key'). Only dashboard.js and resource-page.js did that, so +// any page with its own custom script (or its own hardcoded