akerr501 / akerr501/CS361-Ethical-Eating-Project

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

Offen
#40 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
0
Forks
2
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.