diff --git a/src/web/HTMLIngredient.mjs b/src/web/HTMLIngredient.mjs
index a145e2c1..f97fb038 100755
--- a/src/web/HTMLIngredient.mjs
+++ b/src/web/HTMLIngredient.mjs
@@ -145,7 +145,7 @@ class HTMLIngredient {
for="${this.id}">
${this.name}
- `
+ `;
break;
case "option":
html += `
diff --git a/src/web/TODO.md b/src/web/TODO.md
index 1779110f..9b06e018 100644
--- a/src/web/TODO.md
+++ b/src/web/TODO.md
@@ -2,4 +2,7 @@ operations:
- UI tests etc.
manual testing issues:
+
+Recipe;
- some reordering in recipe is not super smooth ( when the recipe-li is very large for instance )
+- double click deleting c-recipe-li not reliable
diff --git a/src/web/components/c-operation-list.mjs b/src/web/components/c-operation-list.mjs
index 7e367623..1a9a6a44 100644
--- a/src/web/components/c-operation-list.mjs
+++ b/src/web/components/c-operation-list.mjs
@@ -31,9 +31,9 @@ export class COperationList extends HTMLElement {
this.isCloneable = isCloneable;
this.icon = icon;
- window.addEventListener("operationadd", this.handleChange.bind(this))
- window.addEventListener("operationremove", this.handleChange.bind(this))
- window.addEventListener("favouritesupdate", this.handleChange.bind(this))
+ window.addEventListener("operationadd", this.handleChange.bind(this));
+ window.addEventListener("operationremove", this.handleChange.bind(this));
+ window.addEventListener("favouritesupdate", this.handleChange.bind(this));
}
/**
@@ -180,7 +180,7 @@ export class COperationList extends HTMLElement {
if (li.classList.contains(`${className}`)) {
li.classList.remove(`${className}`);
}
- }))
+ }));
if (srcListItems.length !== 0) {
srcListItems.forEach((item => {
diff --git a/src/web/components/c-recipe-li.mjs b/src/web/components/c-recipe-li.mjs
index cc80c592..676dd01e 100644
--- a/src/web/components/c-recipe-li.mjs
+++ b/src/web/components/c-recipe-li.mjs
@@ -104,7 +104,7 @@ export class CRecipeLi extends HTMLElement {
*
* @fires Manager#statechange
*/
- removeOperation(){
+ removeOperation() {
this.remove();
log.debug("Operation removed from recipe");
window.dispatchEvent(this.app.manager.statechange);
@@ -190,7 +190,7 @@ export class CRecipeLi extends HTMLElement {
*/
cloneNode() {
const { app, name, args } = this;
- return new CRecipeLi( app, name, args );
+ return new CRecipeLi(app, name, args);
}
}
diff --git a/src/web/waiters/WindowWaiter.mjs b/src/web/waiters/WindowWaiter.mjs
index 59b81d99..f25b2344 100755
--- a/src/web/waiters/WindowWaiter.mjs
+++ b/src/web/waiters/WindowWaiter.mjs
@@ -4,8 +4,6 @@
* @license Apache-2.0
*/
-import { debounce } from "../../core/Utils.mjs";
-
/**
* Waiter to handle events related to the window object.
*/