Really fixed the progress bar, brute force fail.

pull/6/head
Mark McDowall 13 years ago
parent 2000d07180
commit 04fdb130b8

@ -135,12 +135,9 @@
var element = this; var element = this;
var progressbar = $(element).progressbar({ var progressbar = $(element).progressbar({
value: parseInt($(element).attr("value")) value: parseInt($(element).attr("rel"))
}); });
//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