Widget Post Message

This commit is contained in:
Moritz Utcke
2025-01-04 23:05:55 +07:00
parent 067e470771
commit 61c837beb0

View File

@@ -35,6 +35,10 @@
allowedReason.includes(anlass) &&
allowedTypes.includes(gebaeudetyp) && (leerStand === "bis 30") && (heizungsAlter === ">= 3");
}
if ((gebaeudetyp || anlass || einheiten || sanierungsstatus || baujahr || heizungsAlter || leerStand) && window.parent) {
window.parent.postMessage("", "*")
}
}
</script>