akerr501 / akerr501/CS361-Ethical-Eating-Project

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

Aperta
#40 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
0
Fork
2
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.