SyntaxFix
Write A Post
Hire A Developer
Questions
You can also use jQuery - is(selector) Method:
var lastOpenSite = $(this).siblings().is(':not(.closedTab)');