Fix swiper=false bug

This commit is contained in:
2026-01-14 14:15:16 +01:00
parent db789a23f9
commit 75d64885b0
3 changed files with 10 additions and 2 deletions

View File

@@ -29,4 +29,10 @@ IdmHotspot = class extends IdmHotspot {
return labelMarkup;
}
// Dodanie klasy do ramki rekomendacji
async afterInit() {
super.afterInit();
if (this.hotspotEl) this.hotspotEl.classList.add("--presentation");
}
};