refactor: ♻️ REmove unUsed bannerDetailsAreExapanded

This commit is contained in:
Jérémy Munsch 2024-05-29 14:42:11 +02:00
parent f38236dcda
commit f499d1d8d2
No known key found for this signature in database
GPG key ID: 18361AF3BFEC0FEC

View file

@ -35,7 +35,6 @@ export default class CookieNotice {
cookieLinkShowCustomizeModalList: NodeListOf<HTMLElement>;
modalWrapper: HTMLDivElement;
template: HTMLDivElement;
bannerDetailsAreExpanded: boolean;
restrictCloseModal: boolean;
@ -150,7 +149,6 @@ export default class CookieNotice {
this.denyAllBtn = denyAllBtn;
this.customizeBtn = customizeBtn;
this.bannerDetailsAreExpanded = false;
this.template = template;
const memoryTemplate = this.template.cloneNode(true) as HTMLDivElement;
this.template.remove();