From 99dcbc655559d21f314b3c22d4bb47b49dfd1f14 Mon Sep 17 00:00:00 2001 From: kilo Date: Fri, 1 Sep 2017 06:56:42 +0200 Subject: [PATCH] Same but for preview torrents --- templates/layouts/partials/torrent_item_upload.jet.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/layouts/partials/torrent_item_upload.jet.html b/templates/layouts/partials/torrent_item_upload.jet.html index c3b34373..4129bb35 100644 --- a/templates/layouts/partials/torrent_item_upload.jet.html +++ b/templates/layouts/partials/torrent_item_upload.jet.html @@ -25,7 +25,7 @@ Templates.Add("torrents.item", function(torrent) { // {{end}} var languages = "" var colspan = (torrent.comments.length == 0 ? ` colspan="2"` : "" ) - var commentTd = ((torrent.comments.length > 0) ? '' + torrent.comments.length + '' : "") + var commentTd = ((torrent.comments.length > 0) ? `` + torrent.comments.length + `` : "") var dlLink = (torrent.torrent != "" ? '
' : "") if (torrent.languages[0] != "") {