From abded0dd832481a4a779fcb85ad0b6a433ad77f3 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Thu, 6 Mar 2014 01:36:14 +0000 Subject: - fix level selection --- contrib/log.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'contrib') diff --git a/contrib/log.php b/contrib/log.php index 210047270..d4d9ed6b0 100644 --- a/contrib/log.php +++ b/contrib/log.php @@ -254,8 +254,11 @@ ksort($comps); $(".btn-showlevel").removeClass("active"); $("#"+level).addClass("active"); for (var index = 0; index < types.length; ++index) { - $(".btn-showpeer.active").each(function(){ - $("."+types[index]+"."+this.id).show(); + $("#btn-showpeer > .btn-element.active").each(function(){ + var peer = this.id; + $("#btn-showcomp > .btn-element.active").each(function(){ + $("."+types[index]+"."+peer+"."+this.id).show(); + }); }); if (types[index] == level) return; -- cgit v1.2.3