How can I fix the disabled link in Dawn theme's main navigation dropdown?

Hi @smj_90 - thanks for this! I am using Dawn 5.0. The solution seems to work in mobile but on desktop, clicking the main menu still opens the dropdown and will not take me to the parent page.

Note, for me the lines of code were on #118 - not 114 (not sure if that matters).

Thanks!