1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-13 11:32:20 -05:00

Fix progress sort direction for poster layout view on home page

This commit is contained in:
Adam 2014-11-09 11:49:19 +08:00
parent 7dfad34f5a
commit 9cfad22870
2 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,4 @@
### 0.x.x (2014-11-07 xx:xx:xx UTC) ### 0.x.x (2014-11-09 xx:xx:xx UTC)
* Add Bootstrap for UI features * Add Bootstrap for UI features
* Change UI to resize fluidly on different display sizes, fixes the issue where top menu items would disappear on smaller screens * Change UI to resize fluidly on different display sizes, fixes the issue where top menu items would disappear on smaller screens
@ -63,6 +63,7 @@
* Remove commented out html from display show accidently left in during UI changes * Remove commented out html from display show accidently left in during UI changes
* Fix display issue of season tables in displayShow view / Display Specials * Fix display issue of season tables in displayShow view / Display Specials
* Change to suppress reporting of Tornado exception error 1 * Change to suppress reporting of Tornado exception error 1
* Fix progress sort direction for poster layout view on home page
### 0.2.1 (2014-10-22 06:41:00 UTC) ### 0.2.1 (2014-10-22 06:41:00 UTC)

View File

@ -174,7 +174,7 @@
}, },
progress: function( itemElem ) { progress: function( itemElem ) {
var progress = \$( itemElem ).attr('data-progress'); var progress = \$( itemElem ).attr('data-progress');
return progress.length && parseInt( progress, 10 ) * -1 || Number.POSITIVE_INFINITY; return progress.length && parseInt( progress, 10 ) || Number.NEGATIVE_INFINITY;
} }
} }
}); });