Author: damoxc
Revision: 5492
Log:
trim the trim variable so there is no decimal point
Diff:
Modified: trunk/deluge/ui/web/js/Deluge.Formatters.js
===================================================================
--- trunk/deluge/ui/web/js/Deluge.Formatters.js 2009-07-15 16:43:42 UTC (rev
5491)
+++ trunk/deluge/ui/web/js/Deluge.Formatters.js 2009-07-15 18:54:58 UTC (rev
5492)
@@ -93,6 +93,7 @@
*/
timeRemaining: function(time) {
if (time == 0) { return '∞' }
+ time = time.toFixed(0);
if (time < 60) { return time + 's'; }
else { time = time / 60; }
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---