Do nothing if a li.dropdown-submenu > a is clicked

There is a submenu which has <a>. And it is these <a> that need to be clicked on