1
0
mirror of https://github.com/labstack/echo.git synced 2025-07-17 01:43:02 +02:00

Updated docs

Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
Vishal Rana
2015-10-05 15:52:07 -07:00
parent e45f310607
commit b6f754b2a2
16 changed files with 98 additions and 13 deletions

View File

@ -0,0 +1,10 @@
(function() {
var menu = document.querySelectorAll('.menu a');
for (var i = 0; i < menu.length; i++) {
var m = menu[i];
if (location.href === m.href) {
m.className += 'active';
}
}
})();