Fix bug in sometimes loading the same pins again because the offset is not increased outside of "success"

This commit is contained in:
Isaac Bythewood
2013-03-20 21:02:28 -03:00
parent 310a89f2fe
commit 4f8139f615

View File

@@ -136,10 +136,10 @@ $(window).load(function() {
$('body').append(theEnd);
}
}
// Up our offset, it's currently defined as 30 in our settings
offset += apiLimitPerPage;
});
// Up our offset, it's currently defined as 50 in our settings
offset += apiLimitPerPage;
}