Created
February 25, 2015 22:51
-
-
Save nadavspi/4a2e22235ad166a777e5 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
| $j(this).on('click', function () { | |
| $j(this) | |
| .toggleClass('active') | |
| .next() | |
| .toggleClass('no-display'); | |
| }); | |
| // Hide the content | |
| $j(this).next().addClass('no-display'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment