From 05f9863bc8bc67f2a5899a494199a5cf44505e21 Mon Sep 17 00:00:00 2001 From: Naomi Date: Mon, 4 Apr 2011 19:16:40 -0400 Subject: [PATCH] CC-2159 : Upgrade Airtime to jQuery 1.5 event progress bars are now centered, take up most of the width so they look less stupid. --- public/js/airtime/schedule/full-calendar-functions.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/public/js/airtime/schedule/full-calendar-functions.js b/public/js/airtime/schedule/full-calendar-functions.js index 7cebc3a83..8a15c0fd2 100644 --- a/public/js/airtime/schedule/full-calendar-functions.js +++ b/public/js/airtime/schedule/full-calendar-functions.js @@ -160,8 +160,11 @@ function eventRender(event, element, view) { var div = $('
'); div .height('5px') - .width('100px') + .width('95%') .css('margin-top', '5px') + .css('margin-left', 'auto') + .css('margin-right', 'auto') + .css('text-align', 'center') .progressbar({ value: event.percent });