Removing exsess variables

This commit is contained in:
Макс Овсяников 2022-10-11 17:16:07 +03:00
parent 1e694f2594
commit 014e72b13f
2 changed files with 2 additions and 7 deletions

View File

@ -354,8 +354,6 @@ export class DropDown {
}
if (event) {
let list = this.#element.querySelectorAll('.list');
if (event === 'mouseenter') {
this.#element.addEventListener(event, () => {
this.#open();

View File

@ -49,12 +49,9 @@ const dropdown2 = new DropDown({
value: 5,
},
],
styles: {
head: {
background: 'red',
},
},
multiselect: true,
event: 'mouseenter',
// multiselectTag: true,
});