mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-05 17:43:37 +00:00
Fix progress bars disappearing off homepage
This commit is contained in:
parent
a96afe1ceb
commit
b1234286ae
2 changed files with 7 additions and 6 deletions
|
@ -33,6 +33,7 @@
|
|||
* Add text "[paused]" where appropriate to shows on layout Day by Day on Episodes page
|
||||
* Change Epsiodes page auto refresh from 10 to 30 mins
|
||||
* Add UI tweaks
|
||||
* Fix progress bars disappearing on home page
|
||||
|
||||
|
||||
### 0.5.0 (2014-12-21 11:40:00 UTC)
|
||||
|
|
|
@ -366,13 +366,13 @@ $myShowList.sort(lambda x, y: cmp(x.name, y.name))
|
|||
if (classvalue<20) {
|
||||
classtoadd = "progress-20"
|
||||
}
|
||||
if (classvalue>20 && classvalue<60) {
|
||||
if (classvalue>=20 && classvalue<60) {
|
||||
classtoadd = "progress-40"
|
||||
}
|
||||
if (classvalue>40 && classvalue<80) {
|
||||
if (classvalue>=40 && classvalue<80) {
|
||||
classtoadd = "progress-60"
|
||||
}
|
||||
if (classvalue>80) {
|
||||
if (classvalue>=80) {
|
||||
classtoadd = "progress-80"
|
||||
}
|
||||
\$("\#progressbar$curShow.indexerid > .ui-progressbar-value").addClass(classtoadd);
|
||||
|
@ -596,13 +596,13 @@ $myShowList.sort(lambda x, y: cmp(x.name, y.name))
|
|||
if (classvalue<20) {
|
||||
classtoadd = "progress-20"
|
||||
}
|
||||
if (classvalue>20 && classvalue<60) {
|
||||
if (classvalue>=20 && classvalue<60) {
|
||||
classtoadd = "progress-40"
|
||||
}
|
||||
if (classvalue>40 && classvalue<80) {
|
||||
if (classvalue>=40 && classvalue<80) {
|
||||
classtoadd = "progress-60"
|
||||
}
|
||||
if (classvalue>80) {
|
||||
if (classvalue>=80) {
|
||||
classtoadd = "progress-80"
|
||||
}
|
||||
\$("\#progressbar$curShow.indexerid > .ui-progressbar-value").addClass(classtoadd);
|
||||
|
|
Loading…
Reference in a new issue