1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-27 01:57:21 +00:00

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

This commit is contained in:
Mark McDowall 2012-02-06 23:09:02 -08:00
parent b0c2807b56
commit 67e8712725

View file

@ -137,6 +137,10 @@
var progressbar = $(element).progressbar({
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());
progressbar.find('.ui-progressbar-value').append(label);
});