BUGFIX: typo in javascript
authorArun Persaud <arun@nubati.net>
Sun, 20 Nov 2011 04:59:11 +0000 (20:59 -0800)
committerArun Persaud <apersaud@lbl.gov>
Sun, 20 Nov 2011 05:03:03 +0000 (21:03 -0800)
include/game.js

index bf9327241e79c91c6e47388837c59299d6638ba4..3a1a0803257fa61bd5899f5687c6dd14441595a3 100644 (file)
@@ -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();
        });