diff --git a/templates/site/torrents/view.jet.html b/templates/site/torrents/view.jet.html
index 70cc1a96..668686d3 100644
--- a/templates/site/torrents/view.jet.html
+++ b/templates/site/torrents/view.jet.html
@@ -52,7 +52,7 @@
{{ T("size")}}: |
- {{ fileSize(Torrent.Filesize, T, true) }} |
+ {{ fileSize(Torrent.Filesize, T, true) }} |
{{ if len(Torrent.Languages) > 0 && Torrent.Languages[0] != "" }}
@@ -347,7 +347,8 @@ Modal.Init({
FileListContainer.innerHTML = ""
FileListLabel.style.opacity = 1
document.getElementById("filelist").style.opacity = 1
-
+ if(data.totalsize != "0.0 B") document.getElementsByClassName("torrent-info-size")[0].innerHTML = data.totalsize
+
for(var i = 0; i < data.filelist.length; i++) {
var file = data.filelist[i]
if(file.filesize == "0.0 B") file.filesize = "{{T("unknown")}}"