akerr501 / akerr501/CS361-Ethical-Eating-Project

Substitutes on click listeners still work when not on swap ingredients page

Ouverte
#40 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
JavaScript
Étoiles
0
Forks
2
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

When a user wants to look at an individual ingredient from a recipe while browsing, they can look at the issues and substitutes. However, the listener to change colors for substitutes still works even though there is no swapping functionality on the page. To replicate this, click on the browse meals page and select the first recipe. Then select the first ingredient, after that select the "Show alternatives" button, and select a substitute to see that the color changes to green. A possible fix would be to have better file management to separate the functionality of showing ingredients from the rest of the swapping.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.