This commit is contained in:
2025-07-14 15:24:41 +00:00
parent 23592f3a15
commit c534d1d084

View File

@@ -442,8 +442,8 @@ export class SioImageLightbox extends DeesElement {
window.open(this.image.url, '_blank'); window.open(this.image.url, '_blank');
} }
public disconnectedCallback() { public async disconnectedCallback() {
super.disconnectedCallback(); await super.disconnectedCallback();
document.removeEventListener('keydown', this.handleKeyDown); document.removeEventListener('keydown', this.handleKeyDown);
} }
} }