]> iEval git - gruntmaster-page.git/blobdiff - js/90-nav.js
Replace the About page with a short Help page
[gruntmaster-page.git] / js / 90-nav.js
index b4127d6390eb55977b1a5f4b7f0f2e5d060d31d9..a72aaca2f665da0e9c2cc2a17cfe9c207ce16fc2 100644 (file)
@@ -6,11 +6,12 @@ const NAVS = {
        us: /^\/us\//,
        account: /^\/account$/,
        contribute: /^\/contribute$/,
+       help: /^\/help$/,
 };
 
 $(function(){
        const path = location.pathname;
        for (const nav in NAVS)
                if(path.match(NAVS[nav]))
-                       $('#nav-' + nav)[0].classList.add('active');
+                       q('#nav-' + nav).classList.add('active');
 });
This page took 0.026297 seconds and 4 git commands to generate.