imgMobileLogo.removeAttribute('data-retina') imgMobileLogo.src='https://onlinekoe.com/wp-content/uploads/2021/08/logo-aja.png' }) window.addEventListener('scroll', function(){ if(window.pageYOffset > 40){ liMenuNavbar.style.display="none" } else{ liMenuNavbar.style.display="block" } } ) const logoMobile = document.querySelector('.td-mobile-logo.td-sticky-header').children[0] logoMobile.src='https://onlinekoe.com/wp-content/uploads/2021/08/logo-aja.png'