mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-13 04:00:21 +00:00
Fix all existing prettier issues
This commit is contained in:
@@ -2,7 +2,6 @@ import { Controller } from "stimulus";
|
||||
|
||||
// Close a <details> element when click outside
|
||||
export default class extends Controller {
|
||||
|
||||
connect() {
|
||||
document.body.addEventListener("click", this.#close.bind(this));
|
||||
this.element.addEventListener("click", this.#stopPropagation.bind(this));
|
||||
|
||||
Reference in New Issue
Block a user