Working on Dropdown menu toggle

Menu opens on hover & click, and closes on click.
Menu will not close on selection of link inside. pretty sure I know
what’s up, just toooooo tired