raythedesigner
2/20/2020 - 5:25 PM

Prevent Page Refresh When Clicking on Menu Container Items

<script>
// Prevent Page Refresh When Clicking on Menu Container Items
jQuery('#block-aw-core-visitormainmenu .link--container > a:first-of-type').click(function() {
    event.preventDefault();
});
</script>

<style>
/* Prevent Cursor Change When Hovering on Menu Container Items */
#block-aw-core-visitormainmenu .link--container > a:first-of-type {
    cursor: default;
}
</style>