This is in response to samueldthomas “missing code” comment:
Thank you this worked for me. One thing to note, when I copied and replaced this line of code verbatim it broke my nested menu. When I added the “,” to the end of the line of code it worked perfectly.