mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
Helper cleanup
This commit is contained in:
parent
1fb944976e
commit
626d48c8ea
16 changed files with 89 additions and 83 deletions
|
@ -4,11 +4,8 @@ NzbDrone.Shared.Cells.FileSizeCell = Backgrid.Cell.extend({
|
|||
className: "file-size-cell",
|
||||
|
||||
render: function () {
|
||||
|
||||
var size = Number(this.model.get(this.column.get("name")));
|
||||
this.$el.html(size.bytes(1));
|
||||
var size = this.model.get(this.column.get("name"));
|
||||
this.delegateEvents();
|
||||
return this;
|
||||
|
||||
return NzbDrone.Shared.FormatHelpers.FileSizeHelper(size);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue