Magic was hiding the progress bar colour. Brute force beats magic. Bears beat beats, Bears beat Battlestar Galactica.

pull/4/head
Mark McDowall 13 years ago
parent b0c2807b56
commit 67e8712725

@ -137,6 +137,10 @@
var progressbar = $(element).progressbar({ var progressbar = $(element).progressbar({
value: parseInt($(element).attr("value")) value: parseInt($(element).attr("value"))
}); });
//Magic was hiding the progress bar color... brute force > magic
progressbar.children('.ui-progressbar-value').css('display', 'block');
var label = progressbar.find('.progressBarText').clone().width(progressbar.width()); var label = progressbar.find('.progressBarText').clone().width(progressbar.width());
progressbar.find('.ui-progressbar-value').append(label); progressbar.find('.ui-progressbar-value').append(label);
}); });

Loading…
Cancel
Save