summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/game.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/game.js b/include/game.js
index bf93272..3a1a080 100644
--- a/include/game.js
+++ b/include/game.js
@@ -45,13 +45,13 @@ $(document).ready(
$("#ScoreTable").tablesorter({ widgets: ['zebra']});
$(".gameshidesession").click( function () {
- $(this).parenthesis().children(".gamessession").hide(300);
+ $(this).parent().children(".gamessession").hide(300);
$(this).parent().children(".gamesshowsession").show();
$(this).hide();
});
$(".gamesshowsession").click( function () {
- $(this).parenthesis().children(".gamessession").show(300);
+ $(this).parent().children(".gamessession").show(300);
$(this).parent().children(".gameshidesession").show();
$(this).hide();
});