settings: Challenge can never ends
This commit is contained in:
parent
d4f69059bf
commit
aad95f1e53
12 changed files with 36 additions and 22 deletions
|
|
@ -263,7 +263,7 @@ angular.module("FICApp")
|
|||
}
|
||||
|
||||
function updTime() {
|
||||
if (time && $rootScope.settings) {
|
||||
if (time && $rootScope.settings && $rootScope.settings.end) {
|
||||
var srv_cur = new Date(Date.now() + (time.cu - time.he));
|
||||
|
||||
// Refresh on start/activate time reached
|
||||
|
|
|
|||
Reference in a new issue