-
-
Save KaiserEMP/19ae56a01fbfaaea4b7fcf4f10ac122e to your computer and use it in GitHub Desktop.
JOM
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
| $('.current-post-ancestor').each(function(i, e) { | |
| $(this).closest('.menu-item-has-children').addClass('current-post-ancestor'); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment