* Format codes.

This commit is contained in:
Xiying Guan
2017-11-08 13:28:26 +08:00
parent eb8d31ca6b
commit f1ba417162
51 changed files with 650 additions and 589 deletions
+1 -1
View File
@@ -440,7 +440,7 @@ $(function()
$('.task-num-finish').text(finishCount);
var isFinishAll = finishCount >= totalCount;
if(isFinishAll) current = $tasks.children('li').first().data('name');
if(isFinishAll) current = $tasks.children('li').first().data('name');
var progress = Math.round(100*finishCount/totalCount);
$progress.toggleClass('finish', isFinishAll).find('.progress-bar').css('width', (100*finishCount/totalCount) + '%');