I came across this fragment of code:
if(e.target && e.target.nodeName == "LI") { // do stuff }
in this context