mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-27 07:14:36 +02:00
Fix TypeError
This commit is contained in:
@@ -130,10 +130,10 @@ Through donations and sponsorships we are able to maintain & improve Bootstrap.
|
|||||||
requestOC(function (data) {
|
requestOC(function (data) {
|
||||||
var allBackerList = data.nodes
|
var allBackerList = data.nodes
|
||||||
var backerList = allBackerList.filter(function (backer) {
|
var backerList = allBackerList.filter(function (backer) {
|
||||||
return backer.tier.slug === 'backer'
|
return backer.tier && backer.tier.slug === 'backer'
|
||||||
})
|
})
|
||||||
var sponsorList = allBackerList.filter(function (backer) {
|
var sponsorList = allBackerList.filter(function (backer) {
|
||||||
return backer.tier.slug === 'sponsor'
|
return backer.tier && backer.tier.slug === 'sponsor'
|
||||||
})
|
})
|
||||||
|
|
||||||
// Sort by total amount donated
|
// Sort by total amount donated
|
||||||
|
Reference in New Issue
Block a user