Created
September 22, 2021 19:11
-
-
Save TeamBug99/94a6d5b3ddd29518901bf3d7a3902ae9 to your computer and use it in GitHub Desktop.
Hover active and remove class
This file contains hidden or 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
// active | |
$('.pt-wrp').on('mouseenter', function () { | |
$(this).addClass('active').parent().siblings().find('.pt-wrp').removeClass('active'); | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment