How do you know if the current element is not the first-child?
It should work with $(this), for example:
$(this)
$(\"li\").click(function(e) {
Keep it simple, use the DOM
$("li").click(function(e) { if (this.previousSibling != null) { /* do something */ } });