1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-18 21:35:51 -04:00

fixed FileSizeCell, template helper.

This commit is contained in:
kay.one
2013-06-07 07:34:54 -07:00
parent 7961e83338
commit 72cfde1303
7 changed files with 44 additions and 39 deletions
+2 -3
View File
@@ -3,8 +3,7 @@
define(['app'], function () {
NzbDrone.Shared.FormatHelpers.FileSizeHelper = function (sourceSize) {
var size = Number(sourceSize);
this.$el.html(size.bytes(1));
return this;
return size.bytes(1);
};
NzbDrone.Shared.FormatHelpers.DateHelper = function (sourceDate) {
@@ -33,4 +32,4 @@ define(['app'], function () {
return date.format('{MM}/{dd}/{yyyy}');
};
});
});