[PATCH] stats: use the correct element id for "show more" link handler

Andrew Shadura andrew at shadura.me
Sat Mar 21 11:55:56 EDT 2015


# HG changeset patch
# User Andrew Shadura <andrew at shadura.me>
# Date 1426953352 -3600
#      Sat Mar 21 16:55:52 2015 +0100
# Node ID c3a58da6dee99867d6b52f7d2d802f9af0004db4
# Parent  a921eeab855df2c1e008dd202cf347638975ce01
stats: use the correct element id for "show more" link handler

diff --git a/kallithea/templates/summary/summary.html b/kallithea/templates/summary/summary.html
--- a/kallithea/templates/summary/summary.html
+++ b/kallithea/templates/summary/summary.html
@@ -388,9 +388,9 @@ summary = lambda n:{False:'summary-short
     }
 
     $('#lang_stats').append(tbl);
-    $('#code_status_show_more').click(function(){
+    $('#code_stats_show_more').click(function(){
         $('.stats_hidden').show();
-        $('#code_status_show_more').hide();
+        $('#code_stats_show_more').hide();
     });
 });
 </script>


More information about the kallithea-general mailing list