mirror of
				https://github.com/kevinveenbirkenbach/homepage.veen.world.git
				synced 2025-11-04 09:27:58 +00:00 
			
		
		
		
	Removed non functional resize code
This commit is contained in:
		@@ -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);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user