修复bug

pull/1/head
Doflatango 2017-02-28 14:24:59 +08:00 committed by miraclesu
parent cadce449d5
commit 35c3e1ae4d
3 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -17,7 +17,7 @@ var formatDuration = function(beginTime, endTime){
if (sec >= 1) s += sec.toString() + ' 秒 '; if (sec >= 1) s += sec.toString() + ' 秒 ';
d = d%1000; d = d%1000;
if (d >= 1) s = d.toString() + ' 毫秒'; if (d >= 1) s += d.toString() + ' 毫秒';
if (s.length == 0) s = "0 毫秒"; if (s.length == 0) s = "0 毫秒";
return s; return s;