From 2c5a5f3a9502f5509c2d07e1cc712d51748a9808 Mon Sep 17 00:00:00 2001 From: Brett Smith Date: Fri, 2 Dec 2016 10:11:21 -0500 Subject: [PATCH] appeal: Fix jQuery chaining that didn't work. --- www/conservancy/static/js/supporter-page.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/www/conservancy/static/js/supporter-page.js b/www/conservancy/static/js/supporter-page.js index 42e9ff2f..ea83be01 100644 --- a/www/conservancy/static/js/supporter-page.js +++ b/www/conservancy/static/js/supporter-page.js @@ -41,7 +41,9 @@ $(document).ready(function() { textClass: "goalText", }); } - $('#siteprogressbar').empty().multiprogressbar(barParts); + var $progressBar = $('#siteprogressbar'); + $progressBar.empty(); + $progressBar.multiprogressbar(barParts); $('span#fundraiser-percentage').css({ 'color' : 'green', 'font-weight' : 'bold',