fb55/CSSselect — pull request #26 by jRiest (2014-10-23 22:23:48+00:00)
Title: Add missing `isTag` check in 'nth-last-of-type' pseudo function

Seems like there should be an `isTag` check here, like in `nth-of-type` and other similar functions.

I don't know if the omission would actually cause an issue since the two subsequent `if` checks would fail for text nodes and the like, but might as well be consistent :smile: