JSFiddle - React, Tailwind, and code Playground
by simcox90
JavaScript
(function ($) {
$('div.colA div.region-sidebar-left div.menu-block-wrapper').find('li').each(function() {
if ($(this).find('> ul').size() > 0) {
$(this).addClass('has_child');
}
});
})(jQuery);