appeal: Fix object structure passed into $().multiprogressbar.

This commit is contained in:
Brett Smith 2016-12-02 10:13:25 -05:00
parent 2c5a5f3a95
commit 4afce1eadc

View file

@ -41,9 +41,7 @@ $(document).ready(function() {
textClass: "goalText",
});
}
var $progressBar = $('#siteprogressbar');
$progressBar.empty();
$progressBar.multiprogressbar(barParts);
$('#siteprogressbar').empty().multiprogressbar({parts: barParts});
$('span#fundraiser-percentage').css({ 'color' : 'green',
'font-weight' : 'bold',