mirror of
				https://github.com/kevinveenbirkenbach/homepage.veen.world.git
				synced 2025-11-04 01:18:09 +00:00 
			
		
		
		
	Added header h1 pointer
This commit is contained in:
		@@ -62,6 +62,7 @@ document.addEventListener("DOMContentLoaded", function () {
 | 
				
			|||||||
    // Add click event listener to header h1 to restore the original main content and style
 | 
					    // Add click event listener to header h1 to restore the original main content and style
 | 
				
			||||||
    const headerH1 = document.querySelector("header h1");
 | 
					    const headerH1 = document.querySelector("header h1");
 | 
				
			||||||
    if (headerH1) {
 | 
					    if (headerH1) {
 | 
				
			||||||
 | 
					        headerH1.style.cursor = "pointer";
 | 
				
			||||||
        headerH1.addEventListener("click", function () {
 | 
					        headerH1.addEventListener("click", function () {
 | 
				
			||||||
            // Restore the original content of the main element (removing the iframe)
 | 
					            // Restore the original content of the main element (removing the iframe)
 | 
				
			||||||
            mainElement.innerHTML = originalContent;
 | 
					            mainElement.innerHTML = originalContent;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user