ponychan/ponychan-kusaba — pull request #10 by stormvsn (2012-07-03 13:42:16+00:00)
Title: make redThreads count show if all watched threads have new replies

If all watched threads had new replies, the WT renderer would abort at line 520 because it tried to access wts.threads[wts.threads.length]; as a result, line 525 was never reached and the red threads count was never displayed.

This fixes that.