From 4f8139f6159682246282b47ea2e19f4a8ce0ad51 Mon Sep 17 00:00:00 2001 From: Isaac Bythewood Date: Wed, 20 Mar 2013 21:02:28 -0300 Subject: [PATCH] Fix bug in sometimes loading the same pins again because the offset is not increased outside of "success" --- pinry/static/js/pinry.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pinry/static/js/pinry.js b/pinry/static/js/pinry.js index 1facf1f..ca05c7d 100644 --- a/pinry/static/js/pinry.js +++ b/pinry/static/js/pinry.js @@ -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; }