Module: deluge Branch: master Commit: 7c5dacba5f2d4ad452a544570067032a01905bc6
Author: Damien Churchill <[email protected]> Date: Tue Mar 30 14:27:53 2010 +0100 use Number.MAX_VALUE rather than 99999 --- deluge/ui/web/js/deluge-all/data/SortTypes.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/deluge/ui/web/js/deluge-all/data/SortTypes.js b/deluge/ui/web/js/deluge-all/data/SortTypes.js index a31306d..2acaf8b 100644 --- a/deluge/ui/web/js/deluge-all/data/SortTypes.js +++ b/deluge/ui/web/js/deluge-all/data/SortTypes.js @@ -47,6 +47,6 @@ Deluge.data.SortTypes = { }, asQueuePosition: function(value) { - return (value > -1) ? value : 9999999; + return (value > -1) ? value : Number.MAX_VALUE; } } -- You received this message because you are subscribed to the Google Groups "deluge-commit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/deluge-commit?hl=en.
