mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-08 15:25:01 -04:00
add a different background color on op selected, based on user test feedback
This commit is contained in:
parent
82837254ea
commit
9ec902a369
3 changed files with 14 additions and 2 deletions
|
@ -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");
|
||||
}))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue