mirror of
https://github.com/ivabus/www
synced 2024-11-10 12:25:15 +03:00
Added loading as 'else' for stats
This commit is contained in:
parent
ad4f39269a
commit
2d30db07bd
|
@ -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