eslint fixes
This commit is contained in:
parent
9ea785fc63
commit
ab8b48c437
@ -145,7 +145,7 @@ class HTMLIngredient {
|
|||||||
for="${this.id}">
|
for="${this.id}">
|
||||||
${this.name}
|
${this.name}
|
||||||
</label>
|
</label>
|
||||||
</div>`
|
</div>`;
|
||||||
break;
|
break;
|
||||||
case "option":
|
case "option":
|
||||||
html += `<div class="form-group ing-medium">
|
html += `<div class="form-group ing-medium">
|
||||||
|
|||||||
@ -2,4 +2,7 @@ operations:
|
|||||||
- UI tests etc.
|
- UI tests etc.
|
||||||
|
|
||||||
manual testing issues:
|
manual testing issues:
|
||||||
|
|
||||||
|
Recipe;
|
||||||
- some reordering in recipe is not super smooth ( when the recipe-li is very large for instance )
|
- 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
|
||||||
|
|||||||
@ -31,9 +31,9 @@ export class COperationList extends HTMLElement {
|
|||||||
this.isCloneable = isCloneable;
|
this.isCloneable = isCloneable;
|
||||||
this.icon = icon;
|
this.icon = icon;
|
||||||
|
|
||||||
window.addEventListener("operationadd", this.handleChange.bind(this))
|
window.addEventListener("operationadd", this.handleChange.bind(this));
|
||||||
window.addEventListener("operationremove", this.handleChange.bind(this))
|
window.addEventListener("operationremove", this.handleChange.bind(this));
|
||||||
window.addEventListener("favouritesupdate", 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}`)) {
|
if (li.classList.contains(`${className}`)) {
|
||||||
li.classList.remove(`${className}`);
|
li.classList.remove(`${className}`);
|
||||||
}
|
}
|
||||||
}))
|
}));
|
||||||
|
|
||||||
if (srcListItems.length !== 0) {
|
if (srcListItems.length !== 0) {
|
||||||
srcListItems.forEach((item => {
|
srcListItems.forEach((item => {
|
||||||
|
|||||||
@ -4,8 +4,6 @@
|
|||||||
* @license Apache-2.0
|
* @license Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { debounce } from "../../core/Utils.mjs";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Waiter to handle events related to the window object.
|
* Waiter to handle events related to the window object.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user