Created
December 21, 2017 11:49
-
-
Save FinalDestiny/98380694ca6a75dfc3f535ca55682ac8 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
// adding arrows for the slide/fullscreen menus | |
if ( $( '.et_slide_in_menu_container' ).length ) { | |
var $item_with_sub = $( '.et_slide_in_menu_container' ).find( '.menu-item-has-children > a' ); | |
// add arrows for each menu item which has submenu | |
if ( $item_with_sub.length ) { | |
$item_with_sub.append( '<span class="et_mobile_menu_arrow"></span>' ); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment