Fix duplicated contribution display on show more action

This commit is contained in:
Benjamin Renard 2014-12-28 02:02:28 +01:00
parent fbc3d36535
commit 668ec09cad
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
CACHE MANIFEST CACHE MANIFEST
# Date : 2014/12/01 - Version : 1 # Date : 2014/12/28 - Version : 1
CACHE: CACHE:
index.html index.html

View file

@ -200,7 +200,7 @@ show_more_contributions=function(count) {
else { else {
var previous=0; var previous=0;
if (tbody.children('tr').length>0) { if (tbody.children('tr').length>0) {
previous=tbody.children('tr').length-1; previous=tbody.children('tr').length;
} }
if (!count) count=20; if (!count) count=20;
for (var i=0; i<count; i++) { for (var i=0; i<count; i++) {