mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-02 02:11:33 +00:00
Fix all existing prettier issues
This commit is contained in:
@@ -35,7 +35,7 @@ export default class extends Controller {
|
||||
|
||||
countValueChanged() {
|
||||
window.dispatchEvent(
|
||||
new CustomEvent("checked:updated", { detail: { count: this.countValue } })
|
||||
new CustomEvent("checked:updated", { detail: { count: this.countValue } }),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -50,11 +50,10 @@ export default class extends Controller {
|
||||
}
|
||||
|
||||
#closeDetails(elmnt) {
|
||||
if (elmnt.getElementsByTagName('details').length == 0)
|
||||
return;
|
||||
if (elmnt.getElementsByTagName("details").length == 0) return;
|
||||
|
||||
Array.from(elmnt.getElementsByTagName('details')).forEach((element) => element.open = false);
|
||||
}
|
||||
Array.from(elmnt.getElementsByTagName("details")).forEach((element) => (element.open = false));
|
||||
}
|
||||
|
||||
#toggleDisabled() {
|
||||
if (!this.hasDisableTarget) {
|
||||
|
||||
Reference in New Issue
Block a user