Use exportet js functions

This commit is contained in:
Francesco Lorenzo D'Amico
2025-06-02 12:35:04 +02:00
parent 258ffb782f
commit 006ffc5ba3
3 changed files with 80 additions and 304 deletions
@@ -20,12 +20,14 @@
}
}
</select>
<button type="button" class="btn-delete" onclick="removeIngredient('@Model.Ingredients[i].Id')">🗑️</button>
<button type="button" class="btn-delete" onclick="Francesco.removeIngredient('@Model.Ingredients[i].Id')">🗑️</button>
</div>
</div>
}
</div>
<button type="button" class="btn-add" onclick="addIngredient()">Zutat hinzufügen</button>
<button type="button" class="btn-add" onclick="Francesco.addIngredient()">Zutat hinzufügen</button>