admin: Fix activate timer
This commit is contained in:
parent
84b9e352ee
commit
0ca7aa568d
3 changed files with 19 additions and 7 deletions
|
|
@ -139,7 +139,9 @@ angular.module("FICApp")
|
|||
res += Math.floor(input / 3600) + ":";
|
||||
input = input % 3600;
|
||||
}
|
||||
if (input >= 60) {
|
||||
if (res || input >= 60) {
|
||||
if (res && Math.floor(input / 60) <= 9)
|
||||
res += "0";
|
||||
res += Math.floor(input / 60) + "'";
|
||||
input = input % 60;
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue