add a different background color on op selected, based on user test feedback

This commit is contained in:
Robin Scholtes 2023-05-15 13:34:13 +12:00
parent 82837254ea
commit 9ec902a369
3 changed files with 14 additions and 2 deletions

View file

@ -613,7 +613,8 @@ class RecipeWaiter {
addSelectedClass(opDataName) {
const ops = document.querySelectorAll(`.operation[data-name="${opDataName}"]`);
// A selected operation can occur twice if it's in favourites and the original category op-list
// A selected operation can occur twice if it's in favourites
// and the original category op-list
ops.forEach((op => {
op.classList.add("selected");
}))