-
-
Save ibndawood/b97732997024475f8db590875c4b9c0f to your computer and use it in GitHub Desktop.
Electro - Make parent menu clickable for submenu
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
jQuery(document).ready(function($){ | |
if (jQuery(window).width() >= 1025){ | |
$('li.dropdown-submenu > a').on('click', function() { | |
var addressValue = $(this).attr("href"); | |
location.href=addressValue; | |
}); | |
}; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment