Created
September 25, 2018 20:06
-
-
Save luisfelipe-dev/e89b07d2aab7662450edf18dd8688f60 to your computer and use it in GitHub Desktop.
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
| // AO CLICAR ADICIONAR A CLASSE REFERENTE AO ID | |
| $(document).ready(function() { | |
| $(".pagina-interna__conteudo-desk--esq ul li").on("click", function() { | |
| // alert("clicked"); | |
| $(this) | |
| .siblings() | |
| .removeClass("active"); | |
| $(this).addClass("active"); | |
| }); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment