1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-27 07:14:36 +02:00

Fix TypeError

This commit is contained in:
XhmikosR
2020-12-02 20:48:13 +02:00
parent 058067336f
commit abc3a6798d

View File

@@ -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