This can be easily changed in the Divi Theme Options. 

Go to Theme Options > Navigation > General Settings
and enable the option called Disable top tier dropdown menu links

Did this answer your question?