Optimize some components
All checks were successful
continuous-integration/drone/push Build is passing

- Use binding of this over `document.querySelector` calls
- Use else if over a chained else and if condition
This commit is contained in:
2020-03-29 19:49:01 +02:00
parent 02974aa00c
commit 59f287af2b
3 changed files with 12 additions and 12 deletions

View File

@@ -54,12 +54,10 @@
</div>
<p class="pagination__caption style-caps">See more photos</p>
{:else}
{#if $currentLocation}
{:else if $currentLocation}
<div class="pagination__message">
<h3>That's all folks!</h3>
<p class="pagination__caption style-caps">Come back later to check out <br>new photos of {$currentLocation.name}</p>
</div>
{/if}
{/if}
</section>