From 4afce1eadcd4722d43cd837a58c3a54be8c91179 Mon Sep 17 00:00:00 2001 From: Brett Smith Date: Fri, 2 Dec 2016 10:13:25 -0500 Subject: [PATCH] appeal: Fix object structure passed into $().multiprogressbar. --- www/conservancy/static/js/supporter-page.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/www/conservancy/static/js/supporter-page.js b/www/conservancy/static/js/supporter-page.js index ea83be01..37bc2f95 100644 --- a/www/conservancy/static/js/supporter-page.js +++ b/www/conservancy/static/js/supporter-page.js @@ -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',