summaryrefslogtreecommitdiff
path: root/static/js/kosten.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--static/js/kosten.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/js/kosten.js b/static/js/kosten.js
index 93bdd8c..72517d9 100644
--- a/static/js/kosten.js
+++ b/static/js/kosten.js
@@ -19,7 +19,7 @@
});
out$.showJS = showJS = jq(function(){
$(".detail .heading").click(function(){
- return $(this).prevAll('.mark:last').click();
+ return $(this).closest('.detail').children('.mark:first').click();
});
$(".detail > .mark").click(function(){
if (this.src.indexOf('closed') !== -1) {