evanshultz / neater-bookmarks

A neater bookmarks tree popup extension for Chrome
https://chrome.google.com/webstore/detail/ofgjggbjanlhbgaemjbkiegeebmccifi
MIT License
215 stars 61 forks source link

Fixed #54: Error when pressing 'down' on last item #55

Open DLight1 opened 9 years ago

DLight1 commented 9 years ago

I added a check if the li element is effectively is a li. Also removed LastLi, it wasn't even a li element and the if(LastLi) was superfluous.