mirror of
https://github.com/ivabus/www
synced 2024-11-22 14:55:07 +03:00
Added loading as 'else' for stats
This commit is contained in:
parent
ad4f39269a
commit
2d30db07bd
1 changed files with 3 additions and 3 deletions
|
@ -14,9 +14,9 @@
|
|||
$('#count5').html(signups)
|
||||
$('#count6').html(signups)
|
||||
$('#count7').html(signups)
|
||||
$('#stat-one').html(res.repos ? res.repos.toLocaleString() : "")
|
||||
$('#stat-one-small').html(res.repos ? res.repos.toLocaleString() : "")
|
||||
$('#stat-two').html(res.maintainers ? res.maintainers.toLocaleString() : "")
|
||||
$('#stat-one').html(res.repos ? res.repos.toLocaleString() : "loading...")
|
||||
$('#stat-one-small').html(res.repos ? res.repos.toLocaleString() : "loading...")
|
||||
$('#stat-two').html(res.maintainers ? res.maintainers.toLocaleString() : "loading...")
|
||||
})
|
||||
} catch (e) {
|
||||
console.error(e)
|
||||
|
|
Loading…
Reference in a new issue