Thank you for the solutions here.
I agree with @bowbow7, @jegstudio that the option to click the parent link should be part of the plugin, and not an additional code.
For us the mobile version worked without having to change the setting “Sub Menu Click On Text”, but we have a different menu set up for Mobile.