projects
/
plack-app-gruntmaster.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make JS a bit simpler
[plack-app-gruntmaster.git]
/
js
/
90-nav.js
diff --git
a/js/90-nav.js
b/js/90-nav.js
index b4127d6390eb55977b1a5f4b7f0f2e5d060d31d9..36aec02c3b8c9b9229b6129778e78ba3fb9db93d 100644
(file)
--- a/
js/90-nav.js
+++ b/
js/90-nav.js
@@
-12,5
+12,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.009442 seconds
and
4
git commands to generate.