mirror of
https://github.com/kevinveenbirkenbach/homepage.veen.world.git
synced 2025-07-07 11:35:12 +02:00
Removed non functional resize code
This commit is contained in:
parent
697696347f
commit
b8aad8b695
@ -100,14 +100,6 @@ document.addEventListener("DOMContentLoaded", function () {
|
|||||||
headerH1.addEventListener("click", restoreOriginal);
|
headerH1.addEventListener("click", restoreOriginal);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Responsive resize: adjust iframe height when window resizes
|
|
||||||
window.addEventListener("resize", function () {
|
|
||||||
const iframe = mainElement.querySelector("iframe");
|
|
||||||
if (iframe) {
|
|
||||||
iframe.style.height = mainElement.style.height;
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
// Wait until all resources are loaded before doing the initial iframe check
|
// Wait until all resources are loaded before doing the initial iframe check
|
||||||
window.addEventListener("load", function () {
|
window.addEventListener("load", function () {
|
||||||
const initialParams = new URLSearchParams(window.location.search);
|
const initialParams = new URLSearchParams(window.location.search);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user