us: /^\/us\//,
account: /^\/account$/,
contribute: /^\/contribute$/,
- about: /^\/about$/,
+ 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');
});