[#181] add 'selected' class on double click, which is not visible on desktop ( but we can easily opt to leave it there if we would want to )

This commit is contained in:
Robin Scholtes 2023-04-24 22:55:55 +12:00
parent 455e99dbf6
commit ec45d95244
2 changed files with 16 additions and 0 deletions

View file

@ -244,6 +244,8 @@ class OperationsWaiter {
operationDblclick(e) {
const li = e.target;
e.target.classList.add('selected');
this.manager.recipe.addOperation(li.getAttribute('data-name'));
}