From 34e086b350613ec43de3a19f9fd617464e49c635 Mon Sep 17 00:00:00 2001 From: Guillaume Horel Date: Sat, 28 Mar 2015 17:00:11 -0400 Subject: update active tab --- static/famille.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'static') diff --git a/static/famille.js b/static/famille.js index 491fb3c..b460392 100644 --- a/static/famille.js +++ b/static/famille.js @@ -20,7 +20,9 @@ $(document).ready(function(){ $(".tohide").hide(0); }); $("#kadobutton").click(function(){ - $(".kadoscope").animate({opacity:"1"},"5000"); + $(".kadoscope").animate({opacity:"1"},"5000"); }); $('span.timeago').timeago(); + var addr = $(location).attr('pathname'); + $("#"+addr.replace(/\//g,"")).addClass("active") }); -- cgit v1.2.3-70-g09d2