});
});
- var main_nav_top_level_oc = $('.left-off-canvas-list').children('ul').children('li.menu-item-has-children');
- main_nav_top_level_oc.each(function() {
- $(this).on("click", function(event){
- let isParent = $(event.target).parent().hasClass("oc_parent");
- if( isParent ){
- event.stopPropagation();
- event.preventDefault();
- }
- });
- });
+
});
// region_content.text(regions['regions']['content']);
// region_link.attr("href", url);
});
+
+ var main_nav_top_level_oc = $('.left-off-canvas-list').children('ul').children('li.menu-item-has-children');
+ main_nav_top_level_oc.each(function() {
+ $(this).on("click", function(event){
+ let isParent = $(event.target).parent().hasClass("oc_parent");
+ if( isParent ){
+ event.stopPropagation();
+ event.preventDefault();
+ }
+ });
+ });
});
</script>