Fix pagination message not appearing
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
</script>
|
||||
|
||||
<section class="pagination">
|
||||
{#if photos.length && currentIndex <= photos.length}
|
||||
{#if photos.length && currentIndex < photos.length}
|
||||
<div class="pagination__page" class:disabled={currentIndex === photos.length}
|
||||
on:click={displayMorePhotos}
|
||||
on:mouseenter={() => pageTranslate = pageTranslate - (100 / pagesTotal) * 0.666}
|
||||
|
||||
Reference in New Issue
Block a user