mirror of
https://github.com/pinry/pinry.git
synced 2026-01-20 14:12:07 +01:00
Spinner doesn't show if there are no more pins to load
This commit is contained in:
@@ -93,6 +93,10 @@ $(window).load(function() {
|
||||
});
|
||||
});
|
||||
|
||||
if (pins.meta.total_count == 0) {
|
||||
$('.spinner').css('display', 'none');
|
||||
}
|
||||
|
||||
// Up our offset, it's currently defined as 30 in our settings
|
||||
offset += apiLimitPerPage;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user