mirror of
https://github.com/pinry/pinry.git
synced 2026-07-06 00:09:10 +02:00
Fix bug in sometimes loading the same pins again because the offset is not increased outside of "success"
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user