From 668ec09cadc1b6cf966121529e9d10ce46dfdde7 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Sun, 28 Dec 2014 02:02:28 +0100 Subject: [PATCH] Fix duplicated contribution display on show more action --- cache.manifest | 2 +- inc/myco.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cache.manifest b/cache.manifest index 2f4afb2..8935f93 100644 --- a/cache.manifest +++ b/cache.manifest @@ -1,5 +1,5 @@ CACHE MANIFEST -# Date : 2014/12/01 - Version : 1 +# Date : 2014/12/28 - Version : 1 CACHE: index.html diff --git a/inc/myco.js b/inc/myco.js index 7fec6fa..a898163 100644 --- a/inc/myco.js +++ b/inc/myco.js @@ -200,7 +200,7 @@ show_more_contributions=function(count) { else { var previous=0; if (tbody.children('tr').length>0) { - previous=tbody.children('tr').length-1; + previous=tbody.children('tr').length; } if (!count) count=20; for (var i=0; i