Set itemCount variable to 0 instead of 1 + Fix dropdown button styling and remove unnecessary code

This commit is contained in:
Théophile Diot 2024-01-25 08:53:11 +01:00
parent 440abf3d32
commit 70532d50dc
No known key found for this signature in database
GPG key ID: 248FEA4BAE400D06

View file

@ -369,7 +369,7 @@ class AddBanModal {
"button[data-add-ban-delete-all-item]",
);
this.formEl = document.querySelector("form[data-ban-add-form]");
this.itemCount = 1;
this.itemCount = 0;
this.setDatepicker("0"); // for default field
this.init();
}