mirror of
https://github.com/Daniongithub/ER-TPL.git
synced 2025-12-06 16:32:03 +00:00
Prova 2
This commit is contained in:
@@ -18,7 +18,7 @@ setTimeout(function(){}, 2000);
|
||||
|
||||
//Adatta altezza iframe da codice injectato
|
||||
window.addEventListener("message", (event) => {
|
||||
if (event.origin !== "https://setaapi.serverissimo.freeddns.org/") return; // sicurezza
|
||||
if (event.origin !== "https://setaapi.serverissimo.freeddns.org/lineedyn_linea_dett_percorsi") return; // sicurezza
|
||||
if (event.data?.type === "resize") {
|
||||
frame.style.height = event.data.height + "px";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user