mirror of
				https://github.com/kevinveenbirkenbach/homepage.veen.world.git
				synced 2025-11-03 17:08:00 +00:00 
			
		
		
		
	Removed non functional resize code
This commit is contained in:
		@@ -100,14 +100,6 @@ document.addEventListener("DOMContentLoaded", function () {
 | 
			
		||||
        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
 | 
			
		||||
    window.addEventListener("load", function () {
 | 
			
		||||
        const initialParams = new URLSearchParams(window.location.search);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user