-
-
Save kasper93/b58594a074f77083bb06a8995ac9c891 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
const avek = document.querySelector('.logged-user > a:first-child'); | |
avek.addEventListener('click', () => window.location.href = avek.href); | |
avek.addEventListener('mouseenter', () => avek.classList.add('show-next-drop')); | |
avek.addEventListener('mouseleave', () => avek.classList.remove('show-next-drop')); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment