Merge branch 'master' into newmc
[gruntmaster-page.git] / js / 90-nav.js
index 746ccd70eda3e1f66c811eed9704c3600d68ee16..c6b776e0d721a3bf1d22389300a669c252c40fd2 100644 (file)
@@ -13,5 +13,5 @@ $(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.009958 seconds and 4 git commands to generate.