mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-26 14:54:27 +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) {
|
||||
var allBackerList = data.nodes
|
||||
var backerList = allBackerList.filter(function (backer) {
|
||||
return backer.tier.slug === 'backer'
|
||||
return backer.tier && backer.tier.slug === 'backer'
|
||||
})
|
||||
var sponsorList = allBackerList.filter(function (backer) {
|
||||
return backer.tier.slug === 'sponsor'
|
||||
return backer.tier && backer.tier.slug === 'sponsor'
|
||||
})
|
||||
|
||||
// Sort by total amount donated
|
||||
|
Reference in New Issue
Block a user