Wyrzucenie init z konstruktora

This commit is contained in:
2026-01-15 08:50:19 +01:00
parent 75d64885b0
commit 5750163db7
2 changed files with 3 additions and 4 deletions

View File

@@ -612,7 +612,6 @@ class IdmHotspot {
this.handleHideSecondImage = this.handleHideSecondImage.bind(this);
this.handleSelectVersion = this.handleSelectVersion.bind(this);
this.handleSelectSize = this.handleSelectSize.bind(this);
this.init();
}
// ========================================================
@@ -1421,7 +1420,6 @@ class IdmHotspot {
}/settings.html?comparers=add&product=${compareId}`;
const res = await fetch(compareUrl);
console.log(res);
if (!res.ok) throw new Error(`${idmHotspotTextObject["Wystąpił błąd"]}`);
compareBtnEl.classList.add("--success");
@@ -2390,7 +2388,6 @@ class IdmHotspot {
app_shop.run(
() => {
this.init();
console.log("test", this.hotspotEl);
},
"all",
"#Basket",