I am building a sidebar vertical menu that contains Main Menu items and one level of sub-menu items.
I am using Javascript and CSS so that when the user clicks a top-lev
You need to pass the event as an argument to your function.
goTo(event, '#')
Then you can do event.stopPropagation() and it knows what event is.
event.stopPropagation()
http://jsbin.com/OyUvUqa/2