appeal: Fix jQuery chaining that didn't work.

This commit is contained in:
Brett Smith 2016-12-02 10:11:21 -05:00
parent 6908c135f2
commit 2c5a5f3a95

View file

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