Images fix
This commit is contained in:
@@ -241,9 +241,9 @@ function renderRecipes(recipes) {
|
|||||||
</div>
|
</div>
|
||||||
<div class="recipe-img">
|
<div class="recipe-img">
|
||||||
<img
|
<img
|
||||||
src="/public/spirits/${recipe.name?.toLowerCase()}.jpg"
|
src="/spirits/${recipe.name?.toLowerCase()}.jpg"
|
||||||
alt=""
|
alt=""
|
||||||
onerror="this.onerror=null; this.src='/public/spirits/default.png';"
|
onerror="this.onerror=null; this.src='/spirits/default.png';"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user