Twitter badge: allow ?colorB override

This commit is contained in:
Thaddee Tyl 2017-01-27 23:36:51 +01:00
parent 225ed98663
commit 79eb256b75

View File

@ -4979,7 +4979,7 @@ cache(function(data, match, sendBadge, request) {
}
badgeData.text[1] = '';
badgeData.colorscheme = null;
badgeData.colorB = '#55ACEE';
badgeData.colorB = data.colorB || '#55ACEE';
sendBadge(format, badgeData);
}));