thedjpetersen/subway — comment on commit b2b20edc1678b2582fb8605b9f6b9a436c8f4c20
File: assets/js/views/channel_tab.js line 76
By akavlie:

Think I see the problem here -- this should go in the if loop, as we don't want the tab to change if you're not closing out the active tab anyway.

btw, a more concise way to write this sort of thing:

`$nextTab && $nextTab.click()`