summaryrefslogtreecommitdiff
path: root/static/js/kosten.js
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2013-10-17 17:20:37 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2013-10-17 17:20:37 +0200
commita8fc044a8dff829c5b55bcb32cb5a7525b5bc746 (patch)
tree1a4ccd45858c99bef1dda2c0767d2393b84c101f /static/js/kosten.js
parenta4853c88d2231ef8791600a9c7e7eec0f018fa73 (diff)
downloadkosten-a8fc044a8dff829c5b55bcb32cb5a7525b5bc746.tar.gz
kosten-a8fc044a8dff829c5b55bcb32cb5a7525b5bc746.tar.bz2
kosten-a8fc044a8dff829c5b55bcb32cb5a7525b5bc746.zip
Moar fixes
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) {