summaryrefslogtreecommitdiff
path: root/static/js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--static/js/kosten.js2
-rw-r--r--static/js/kosten.ls2
2 files changed, 2 insertions, 2 deletions
diff --git a/static/js/kosten.js b/static/js/kosten.js
index 627fbdf..8a5b591 100644
--- a/static/js/kosten.js
+++ b/static/js/kosten.js
@@ -18,7 +18,7 @@
});
});
out$.showJS = showJS = jq(function(){
- $(".detail span").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 e3be0b8..aef39ff 100644
--- a/static/js/kosten.ls
+++ b/static/js/kosten.ls
@@ -11,7 +11,7 @@ export addJS = jq ->
# Show
export showJS = jq ->
- $ ".detail span" .click ->
+ $ ".detail > .heading" .click ->
$ @ .prev-all \.mark:last .click!
$ ".detail > .mark" .click ->