WordPress Nav Walker – Top menu link with dropdown link not clickable (dropdown opens)

Managed to fix it by updating the following:

$attributes .= ( $args->walker->has_children ) ? ' class="dropdown-toggle" data-toggle="dropdown"' : ''; // THE PROBLEM!

to:

$attributes .= ( $args->walker->has_children ) ? ' ' : ''; // THE PROBLEM!

And the fourth $item_output to:

$item_output .= ( $depth == 0 && $args->walker->has_children ) ? ' </a><b class="caret dropdown-toggle" data-toggle="dropdown"></b>' : '</a>';

Combined this with the following jQuery:

jQuery(document).ready(function () {
  jQuery(".dropdown > a").click(function () {
    window.location = jQuery(this).attr("href");
  });

 
});

It does the trick. Probably not the best way, but it works. Hipp-hipp.