This commit is contained in:
gorhill 2015-07-07 16:54:41 -04:00
parent 01a5fc44e2
commit 002b99e573
1 changed files with 1 additions and 1 deletions

View File

@ -252,7 +252,7 @@ var renderDOMIncremental = function(response) {
var countFromNode = function(li) { var countFromNode = function(li) {
var span = li.children[2]; var span = li.children[2];
var cnt = parseInt(span.getAttribute('data-cnt'), 10); var cnt = parseInt(span.getAttribute('data-cnt'), 10);
return isNaN(cnt) ? cnt : 0; return isNaN(cnt) ? 0 : cnt;
}; };
/******************************************************************************/ /******************************************************************************/