Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Prowlarr/commit/14f57d655a2915c932182cb65643ab5e4ebb593a You should set ROOT_URL correctly, otherwise the web may not work correctly.

Fixed: Don't show an error if filesize cannot be formatted

pull/2/head
Mark McDowall 11 years ago
parent fbdc84b6cd
commit 14f57d655a

@ -50,15 +50,15 @@ define(
var title = 'Episode downloaded';
if (quality.proper) {
title += ' [PROPER] - {0}'.format(size);
this.$el.html('<span class="badge badge-info" title="{0}">{1}</span>'.format(title, quality.quality.name));
title += ' [PROPER]';
}
else {
if (size !== '') {
title += ' - {0}'.format(size);
this.$el.html('<span class="badge badge-inverse" title="{0}">{1}</span>'.format(title, quality.quality.name));
}
this.$el.html('<span class="badge badge-inverse" title="{0}">{1}</span>'.format(title, quality.quality.name));
return;
}

@ -10,6 +10,11 @@ define(
bytes: function (sourceSize) {
var size = Number(sourceSize);
if (isNaN(size)) {
return '';
}
return Filesize(size, { base: 2, round: 1 });
},

Loading…
Cancel
Save