akerr501 / akerr501/CS361-Ethical-Eating-Project
Substitutes on click listeners still work when not on swap ingredients page
- 主要言語
- JavaScript
- スター
- 0
- フォーク
- 2
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
評価
この issue はまだ評価されていません。