From a4853c88d2231ef8791600a9c7e7eec0f018fa73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Thu, 17 Oct 2013 16:56:25 +0200 Subject: Fixed too much --- static/js/kosten.js | 2 +- static/js/kosten.ls | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'static') diff --git a/static/js/kosten.js b/static/js/kosten.js index 8a5b591..93bdd8c 100644 --- a/static/js/kosten.js +++ b/static/js/kosten.js @@ -18,7 +18,7 @@ }); }); out$.showJS = showJS = jq(function(){ - $(".detail > .heading").click(function(){ + $(".detail .heading").click(function(){ return $(this).prevAll('.mark:last').click(); }); $(".detail > .mark").click(function(){ diff --git a/static/js/kosten.ls b/static/js/kosten.ls index aef39ff..4e39699 100644 --- a/static/js/kosten.ls +++ b/static/js/kosten.ls @@ -11,7 +11,7 @@ export addJS = jq -> # Show export showJS = jq -> - $ ".detail > .heading" .click -> + $ ".detail .heading" .click -> $ @ .prev-all \.mark:last .click! $ ".detail > .mark" .click -> -- cgit v1.2.3